Im trying to test a Entity Bean using Cactus...
I used the setUp method to create a row in the
database and then use the testXXX method to see if the
primary key is the same as the one with which i
created(Stupid Test Case, bear with me!!!)..

This is a testCondition
assertEquals("BatchID Dint Match", 999, batchID);

When the batchID is 999 from the entity bean, it works
fine, saying all tests succeeded

But if i change the line to
assertEquals("BatchID Dint Match", 998, batchID);
This case, I expect it to fail. Instead it gives an
exception with the "Not a Valid Response" error. 

Help Please!!!!!

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to