From: "Ayende Rahien" <aye...@ayende.com>
Date: Wed, 14 Mar 2007 23:08:49 +0200
Local: Wed, Mar 14 2007 5:08 pm
Subject: Re: CallOriginalMethod
On 3/12/07, Ayende Rahien <aye...@ayende.com> wrote: > That is because NoExpectations are handled in the interceptor level, not > On 3/12/07, ernst80 < ernst.scheitha...@gmx.net> wrote: > > Hi Ayende, > > Thanks for fixing this. This is definitely helpful to us. > > When I tested the new implementation of CallOriginalMethod I went > > public class TestClass > > [Test] > > mock.Method (); > > repository.ReplayAll (); > > repository.BackToRecordAll (); > > mock.Method (); > > repository.ReplayAll (); > > try > > The test is green when I use OriginalCallOptions.CreateExpectation. > > This test fails. I give it to you just as a feedback since I currently > > However it is not obvious to me why the mock has this behavior after > > Best regrads, > > On Mar 6, 3:42 am, "Ayende Rahien" <aye...@ayende.com> wrote: > > > On 2/26/07, ernst80 <ernst.scheitha...@gmx.net> wrote: > > > > Hi Ayende, > > > > wow, that was fast! > > > > Unfortunately, the implementation does not behave as expected. The > > > > public class MockedClass > > > > //Something in this method must be executed > > > > [Test] > > > > mock.Method (null); > > > > mockRepository.ReplayAll (); > > > > mock.Method ("parameter"); > > > > mockRepository.VerifyAll (); > > > > The ArgumentNullException is thrown in this case, although > > > > Could you please look into it? > > > > Thanks, Ernst > > > > On Feb 24, 1:55 pm, "Ayende Rahien" < aye...@ayende.com> wrote: > > > > > CallOriginalMethod(OriginalCallOptions.CreateExpectation ) You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||