Author Login
Post Reply
Hi All,
I am very new to jmock. I would like to know, how to test a method which having
class casting.Here is my code
class TestClass{
private void testMethod(Object obj){
if(((MyClass)obj).getName().equalsIgnoreCase("Test")){
obj=null;
}
}
}
Thanks In advance,
Regards,
Anoop.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email