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>();
 }
Пример #3
0
 public MockWithRefAndOutParams()
 {
     target         = MockRepository.Mock <IRefAndOut>();
     remotingTarget = MockRepository.Mock <RemotingProxyWithOutRef>();
 }
Пример #4
0
 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>();
 }