@Test
public void checkNodeTextCreatedForSimplestClass() {
considerCode("class A {}");
assertEquals(1, lpp.getTextForNode(cu).numberOfElements());
assertEquals(true, lpp.getTextForNode(cu).getTextElement(0) instanceof ChildTextElement);
<BUG>assertEquals(cu.getClassByName("A"), ((ChildTextElement)lpp.getTextForNode(cu).getTextElement(0)).getChild());

ClassOrInterfaceDeclaration classA = cu.getClassByName("A");
</BUG>
assertEquals(7, lpp.getTextForNode(classA).numberOfElements());

@Test
public void checkNodeTextCreatedForSimplestClass() {
considerCode("class A {}");
assertEquals(1, lpp.getTextForNode(cu).numberOfElements());
assertEquals(true, lpp.getTextForNode(cu).getTextElement(0) instanceof ChildTextElement);
assertEquals(cu.getClassByName("A").get(), ((ChildTextElement)lpp.getTextForNode(cu).getTextElement(0)).getChild());
ClassOrInterfaceDeclaration classA = cu.getClassByName("A").get();
assertEquals(7, lpp.getTextForNode(classA).numberOfElements());
