This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit da9a05d234a2a4080d36f5cea753a70759505ff1
Author: Andi Huber <ahu...@apache.org>
AuthorDate: Fri May 18 21:11:40 2018 +0200

    ISIS-1948: fixes proxy test
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1948
---
 .../java/org/apache/isis/core/wrapper/proxy/ProxyCreatorTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/wrapper/src/test/java/org/apache/isis/core/wrapper/proxy/ProxyCreatorTest.java
 
b/core/wrapper/src/test/java/org/apache/isis/core/wrapper/proxy/ProxyCreatorTest.java
index eb65180..bbdd9a1 100644
--- 
a/core/wrapper/src/test/java/org/apache/isis/core/wrapper/proxy/ProxyCreatorTest.java
+++ 
b/core/wrapper/src/test/java/org/apache/isis/core/wrapper/proxy/ProxyCreatorTest.java
@@ -22,7 +22,6 @@ import java.lang.reflect.Method;
 import java.util.HashSet;
 import java.util.Set;
 
-import 
org.apache.isis.core.metamodel.specloader.classsubstitutor.ProxyEnhanced;
 import org.apache.isis.core.wrapper.handlers.DelegatingInvocationHandler;
 import org.apache.isis.progmodel.wrapper.dom.employees.Employee;
 import org.junit.Assert;
@@ -74,7 +73,8 @@ public class ProxyCreatorTest {
                final Employee proxyOfEmployee = 
proxyCreator.instantiateProxy(handler);
                
                Assert.assertNotNull(proxyOfEmployee);
-               Assert.assertTrue(proxyOfEmployee instanceof ProxyEnhanced);
+               
+               Assert.assertNotEquals(Employee.class.getName(), 
proxyOfEmployee.getClass().getName());
                
                Assert.assertFalse(handler.wasInvoked("getName"));
                

-- 
To stop receiving notification emails like this one, please contact
ahu...@apache.org.

Reply via email to