#NEWLINE# def it_constructs_part_using_default_class_when_no_custom_registered( self , part_args_2_ , DefaultPartClass_ , part_of_default_type_ ) : #NEWLINE# #INDENT# ( partname , content_type , reltype , blob , package ) = part_args_2_ #NEWLINE# part = PartFactory ( partname , content_type , reltype , blob , package ) #NEWLINE# DefaultPartClass_ . load . assert_called_once_with ( partname , content_type , blob , package ) #NEWLINE# assert ( part is part_of_default_type_ )