assertNotSame(object, proxy);
}
@Test
public void shouldInheritInterfacesOfTheObject() {
final ResourceAuthorizationManager object = new DefaultResourceAuthorizationManager();
final ResourceAuthorizationManager proxy = ProxyFactory.proxy(
new TypedObjectFactory<ResourceAuthorizationManager>() {
public ResourceAuthorizationManager create() {
return object;
}