void function ( ) { assertTrue ( "srini_string" , rootNode . isUnit ( ) ) ; thrown . expect ( IllegalArgumentException . class ) ; rootNode . addChild ( ProductDimensions . createBrand ( "srini_string" ) ) ; }
checks that adding a child to a unit node fails . concode_field_sep ExpectedException thrown concode_elem_sep ProductPartitionNode rootNode concode_field_sep void testNavigation concode_elem_sep void testSetBidOnSubdivision_fails concode_elem_sep void testSetNegativeBid_fails concode_elem_sep void testSetBidOnUnit concode_elem_sep void setUp concode_elem_sep void testRemoveChildThatDoesNotExist_fails concode_elem_sep void testAddChildThatExists_fails concode_elem_sep void testChildNodeBasicFunctionality concode_elem_sep void testGetChildThatDoesNotExist_fails concode_elem_sep void testCreateExcludedRoot_fails concode_elem_sep void testRootNodeBasicFunctionality