How do I test the return value of a function which returns an object

Printable View