### Question:
ClassImposterizer extends org.jboss.arquillian.graphene.cglib.ClassImposterizer { <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); }    }### Answer:
@Test public void testClass() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingClass.class); assertTrue(object instanceof TestingClass); }
@Test public void testInterface() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingInterface.class); assertTrue(object instanceof TestingInterface); }
@Test public void testAbstractClass() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingAbstractClass.class); assertTrue(object instanceof TestingAbstractClass); }
@Test public void testClassAndInterface() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingClass.class, TestingInterface.class); assertTrue(object instanceof TestingClass); assertTrue(object instanceof TestingInterface); }
@Test(expected = IllegalArgumentException.class) public void testPrivateInterface() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingPrivateInterface.class); assertTrue(object instanceof TestingPrivateInterface); }