public MockWithRefAndOutParams() { target = MockRepository.Mock <IRefAndOut>(); target.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); remotingTarget = MockRepository.Mock <RemotingProxyWithOutRef>(); remotingTarget.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); }
public MockWithRefAndOutParams() { mocks = new MockRepository(); target = (IRefAndOut)mocks.StrictMock(typeof(IRefAndOut)); remotingTarget = mocks.StrictMock<RemotingProxyWithOutRef>(); }
public MockWithRefAndOutParams() { target = MockRepository.Mock <IRefAndOut>(); remotingTarget = MockRepository.Mock <RemotingProxyWithOutRef>(); }
public MockWithRefAndOutParams() { mocks = new MockRepository(); target = (IRefAndOut)mocks.StrictMock(typeof(IRefAndOut)); remotingTarget = mocks.StrictMock <RemotingProxyWithOutRef>(); }
public MockWithRefAndOutParams() { target = MockRepository.Mock<IRefAndOut>(); remotingTarget = MockRepository.Mock<RemotingProxyWithOutRef>(); }
public MockWithRefAndOutParams() { target = (IRefAndOut)MockRepository.GenerateStrictMock(typeof(IRefAndOut), null, null); remotingTarget = MockRepository.GenerateStrictMock<RemotingProxyWithOutRef>(); }