public void SetUp()
 {
     _mapper = new FormToIConvertibleMapper(errorHandling:DataConversionErrorHandling.ThrowException);
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request
         .Stub(arg => arg.Form)
         .Return(new NameValueCollection
             {
                 { "I", "1.2" }
             });
 }
			public void SetUp()
			{
				_mapper = new FormToIConvertibleMapper();
				_request = MockRepository.GenerateMock<HttpRequestBase>();
				_request
					.Stub(arg => arg.Form)
					.Return(new NameValueCollection
						{
							{ "I", "1.2" }
						});
			}
예제 #3
0
 public void SetUp()
 {
     _mapper  = new FormToIConvertibleMapper();
     _request = MockRepository.GenerateMock <HttpRequestBase>();
     _request
     .Stub(arg => arg.Form)
     .Return(new NameValueCollection
     {
         { "D", "1.2" }
     });
 }
예제 #4
0
 public void SetUp()
 {
     _mapper  = new FormToIConvertibleMapper(errorHandling: DataConversionErrorHandling.ThrowException);
     _request = MockRepository.GenerateMock <HttpRequestBase>();
     _request
     .Stub(arg => arg.Form)
     .Return(new NameValueCollection
     {
         { "I", "1.2" }
     });
 }
 public void SetUp()
 {
     _mapper = new FormToIConvertibleMapper();
 }
예제 #6
0
 public void SetUp()
 {
     _mapper = new FormToIConvertibleMapper();
 }