assertEquals("Child two value should be 'child two value'", "child two value", childTwo.getValue()); assertEquals("The number of attributes should be 0", 0, childTwo.getAttributeCount()); assertNotNull("Grand child one config element should not be null", grandKidOne); assertEquals("The number of attributes for grand child one should be 1", 1, grandKidOne.getAttributeCount()); assertEquals("The number of children for grand child one should be 0", 0, grandKidOne.getChildCount());