Hi Stale,

Can I also point out that this behaviour is fundamental to being able to use 
AOP for unit-testing, certainly in our company, where we always have the "real" 
object and the "mock" object implementing the same interface.

I will either use you're suggested workaround for now, or make the "mock" 
object extend the "real" class, which also worked.

Thanks again for you're help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216109#4216109

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216109
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to