Bean dummyBean = new DummyBean();
Class<ExtendedSpecificClass> proxyClass = pf.createProxyClass(dummyBean, classLoader, ExtendedSpecificClass.class, interceptedMethods, nonInterceptedMethods);
Assert.assertNotNull(proxyClass);
ExtendedSpecificClass internalInstance = new ExtendedSpecificClass();
internalInstance.init();
TestInterceptorHandler testInvocationHandler = new TestInterceptorHandler(internalInstance);
ExtendedSpecificClass extendedSpecificProxyInstance = pf.createProxyInstance(proxyClass, internalInstance, testInvocationHandler);
SpecificClass<CustomType> specificProxyInstance = extendedSpecificProxyInstance;
GenericInterface<CustomBaseType> interfaceProxyInstance = extendedSpecificProxyInstance;
Assert.assertNotNull(extendedSpecificProxyInstance.newInstance());
Assert.assertNotNull(specificProxyInstance.newInstance());
Assert.assertNotNull(interfaceProxyInstance.newInstance());
Assert.assertTrue(extendedSpecificProxyInstance instanceof OwbInterceptorProxy);
Assert.assertNotNull(internalInstance.newInstance());