#NEWLINE# def _mutated_pb( test_case , mutation_pb_list , mutation_type ) : #NEWLINE# #INDENT# _assert_num_mutations ( test_case , mutation_pb_list , 1 ) #NEWLINE# mutated_pb = mutation_pb_list [ 0 ] #NEWLINE# test_case . assertEqual ( mutated_pb . WhichOneof ( 'operation' ) , mutation_type ) #NEWLINE# return getattr ( mutated_pb , mutation_type )