[jboss-user] [JBoss Seam] - Re: Inject a mocked component for integration testing

lowecg2004 do-not-reply at jboss.com
Thu May 17 08:32:30 EDT 2007


Add your mock class to your test package and annotate it with the following:

@Install(precedence=MOCK)

More info in Seam reference section 26.2.1. "Using mocks in integration tests".

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

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



More information about the jboss-user mailing list