@Test public void testExtendingMultipleInterfaces() { // Create interface final SgClass clasz = new SgClass("public", "org.fuin.onthefly", "TestExtendingMultipleInterfaces", true, null); clasz.addInterface(SgClass.create(pool, Serializable.class)); clasz.addInterface(SgClass.create(pool, Acl.class)); clasz.addInterface(SgClass.create(pool, BeanInfo.class)); // Equal to file in data directory? SgAssert.assertEqualToFile(DATA_DIR, clasz); // Just tests if the class is constructable Assert.assertNull(generator.loadClass(clasz)); generator.createClass(clasz); }