@Test(expected = IllegalArgumentException.class) public void testPrivateInterface() { Object object = ClassImposterizer.INSTANCE.imposterise(interceptor, TestingPrivateInterface.class); assertTrue(object instanceof TestingPrivateInterface); }
<T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); }
ClassImposterizer extends org.jboss.arquillian.graphene.cglib.ClassImposterizer { <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); } }
ClassImposterizer extends org.jboss.arquillian.graphene.cglib.ClassImposterizer { <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); }  }
ClassImposterizer extends org.jboss.arquillian.graphene.cglib.ClassImposterizer { <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); }   }
ClassImposterizer extends org.jboss.arquillian.graphene.cglib.ClassImposterizer { <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) { return INSTANCE.imposteriseProtected(interceptor, mockedType, ancillaryTypes); }    }