Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

[jmock-user] constrainting/asserting an object argument

Csaba Szucs

2009-03-10

Replies: Find Java Web Hosting

Author LoginPost Reply


Hello Guys,

I have two questions to you:

1)
My method to be tested calls another object's method with an object
argument. I would like to check some things on that object argument.
How can I do that with the latest JMock API?

2)
Is there any special facility to do assertions on return object of the
method to be tested with JMock or shall I use simply normal JUnit
assertions on that return object?

Many thanks!
Csaba


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.