m_JournalLineFactoryMock.BackToRecord();
m_JournalLineFactoryMock.Stub(stub =>
stub.CreateLinesFrom(null,null))
.IgnoreArguments()
.Return(new List<JELine> {new JELine(), new JELine()});
On Tue, Feb 17, 2009 at 1:37 PM, Tim Barcz <[email protected]> wrote:
> Check the options you set on that method, I know I've had those wrong in
> the past.
>
>
> On Tue, Feb 17, 2009 at 2:34 PM, Shane Courtrille <
> [email protected]> wrote:
>
>>
>> Then I'll figure out where I'm messing up :)
>>
>> On Tue, Feb 17, 2009 at 1:18 PM, Ayende Rahien <[email protected]> wrote:
>> > It should work.
>> >
>> > On Tue, Feb 17, 2009 at 2:58 PM, Shane C <[email protected]>
>> wrote:
>> >>
>> >> BackToRecord() doesn't appear to work for a Mock created with the
>> >> MockRepository.GenerateMock<>. Can anyone else verify this?
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---