From: Eddie P. <pos...@ho...> - 2003-05-08 15:43:53
|
Hellu, I am just starting with mock objects and was used to use stub object. I have a component A that contains three links to other components, namely B, C and D. To test this with mock, I have to submit the three stub objects B, C and D to A. Is that the way to do it ? Did I understood it correctly ? That is, am not so font about passing all those stub objects/handlers, as it makes the interface definition somewhat complex, not not ?? I could think about breaking up A in smaller parts, but that not logical in my case. Please some feedback how to deal with this ? Ed _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |