#NEWLINE# def it_adds_an_add_method_for_the_child_element( self , add_fixture ) : #NEWLINE# #INDENT# ( parent , expected_xml ) = add_fixture #NEWLINE# choice = parent . _add_choice ( ) #NEWLINE# assert ( expected_xml . xml == expected_xml ) #NEWLINE# assert isinstance ( choice , CT_Choice ) #NEWLINE# assert parent . _add_choice . __doc__ . startswith ( 'Add a new ``<p:choice>`` child element ' )