[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Some tests broken since not using verify

timfox do-not-reply at jboss.com
Fri Jun 27 14:05:09 EDT 2008


I just noticed that most of the deployer tests do EasyMock.replay, but don't use EasyMock.verify so they're always passing.

When I add EasyMock.verify they fail.

The Roles matching in security deployer tests also seems not to actually match (Need an IArgumentMatcher??)

I think I've seen some other early tests without verifies too.

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

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



More information about the jboss-dev-forums mailing list