without a full test case this is difficult to diagnose, however Tuna is spot
on with MockRepository(), you cannot do AAA with PartialMock you must use
record/replay.

So if I had to gander a guess I'd say you're missing a .ReplayAll()
statement somewhere.

On Tue, Mar 24, 2009 at 2:04 PM, Tuna Toksoz <[email protected]> wrote:

> I don't see a record here, shouldn't you first call
>
> .Record()
>
>
> and then replay?
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
> On Tue, Mar 24, 2009 at 7:50 PM, Jake <[email protected]> wrote:
>
>>    var a = _mocks.StrickMock<baseClass>();
>>    Expect.Call(a.FileExists(null)).IgnoreArguments().Return(true);
>>    _mocks.ReplayAll();
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to