[jboss-user] [JBoss Seam] - Re: EntityController not testable?

larshuber do-not-reply at jboss.com
Fri Aug 17 10:38:03 EDT 2007


For unit testing you can user field setting. I tried it with the logger, but not with faces messages.

setField(obj, "log", org.jboss.seam.log.Logging.getLog(obj.getClass().getName()));

obj is an instance of EntityController subclass.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075248



More information about the jboss-user mailing list