From: Oren G. <og...@me...> - 2002-07-23 10:05:31
|
Hi there I am probably the most fresh mock-objects user ever (I can count me experience in minutes). As a starter, I have a feeling that the only way for me to use mock objects, is by implementing a basic interface used by the tested object, and sending it to this object, in order for it to use the mock and not the original object. If so, how can use mock objects for testing objects that do not expect such an argument, but create an instance of it inside? Thanks, Oren ____________________________________ Oren Gross Java(TM) Developer Mercury Interactive APM TAC R&D +972-3-5399407 og...@me... |