void () { myFixture.addClass("package pack1;\npublic class Base { }"); myFixture.addClass("package pack1;\npublic class Derived1 extends Base { }"); myFixture.addClass("package pack2;\npublic class Derived2 extends pack1.Base { }"); myFixture.addClass("package pack1;\npublic class Derived3 extends pack2.Derived2 { }"); doTest("pack1.Base", "pack1", true, "pack1.Derived1", "pack1.Derived3"); }