[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - EasyMock / beNiceOnProperties

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Jun 19 19:25:31 EDT 2008


I have created a method on this test I'm working on (MeassingServerManagementImplTest::beNiceOnProperties), that if you guys don't think it is a stupidity I could put it on the super class UnitTestCase.

The idea is, on regular mocks (Which I think we should be using most of the time, unles I'm mistaken), you could ignore any calls to read methods such as getId, this way tracing or minor refactorings would not affect the test.


But I wanted to pass that by you guys first.

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

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



More information about the jboss-dev-forums mailing list