jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunny Choudhary" <sunny_choudh...@persistent.co.in>
Subject How to test method that return object of other class
Date Tue, 12 Feb 2008 07:44:53 GMT
 

 

Hi

 

            I want to test a method of a class which returns an object of
some other class that contains other objects and primitives.

            How can I use the assert statements to unit test this and if the
method is returning the object (containing many variables) then how to enter
it in the assert statements.

 

-Sunny

 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message