}
public void testMultipleInheritence() throws Exception {
TranslationUnit unit = parse(
"class A{}; class B{}; class C : public A, protected B {};");
ClassDeclaration classA = unit.getChild(0);
ClassDeclaration classB = unit.getChild(1);
ClassDeclaration classC = unit.getChild(2);
assertEquals("A", classA.getName());
assertEquals("B", classB.getName());
assertEquals("C", classC.getName());
BaseClass baseC0 = classC.getBaseClass(0);
BaseClass baseC1 = classC.getBaseClass(1);
assertEquals("A", baseC0.getDeclaration().getName());
assertEquals(AccessSpecifier.PUBLIC, baseC0.getAccessSpecifier());
assertEquals("B", baseC1.getDeclaration().getName());