verify(serviceRegistry);
}
public void testWithFinalClass() throws Exception {
ServiceRegistryEntry ref = new StaticServiceRegistryEntry("service", "mybean", "mymod", ClassUtils.getDefaultClassLoader());
replay(serviceRegistry);
try {
creator.createProxyFactory(new StaticServiceReferenceProxyFactorySource(null, ref), null, null);
fail();