You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Sunny Choudhary <su...@persistent.co.in> on 2008/02/12 08:07:08 UTC
How to test method that return object of other class
_____
From: Sunny Choudhary [mailto:sunny_choudhary@persistent.co.in]
Sent: Tuesday, February 12, 2008 11:54 AM
To: 'cactus-user@jakarta.apache.org'
Subject: How to test method that return object of other class
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.