It allows mocked call to have access to "this", which is useful if you need
to mock side effects.
Cheers,
Nat.
_______________________
Dr. Nathaniel Pryce
B13media Ltd.
http://www.b13media.com
+44 (0)7712 526 661
----- Original Message -----
From: "Steve Freeman" <st...@m3...>
To: "'Mockobjects-Java-Dev'" <moc...@li...>
Sent: Monday, June 09, 2003 12:27 AM
Subject: [MO-java-dev] mock parameter in call() method?
> Been browsing the code and I can't find an example where the first mock
> parameter is actually used from the call(mock, methodName, args) method.
> Have I missed something?
>
> S
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Mockobjects-java-dev mailing list
> Moc...@li...
> https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev
|