Inheritance: IParameterMapper
 public void SetUp()
 {
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request.Stub(arg => arg.ContentEncoding).Return(Encoding.ASCII);
     _request.Stub(arg => arg.ContentType).Return("application/json");
     _request.Stub(arg => arg.InputStream).Return(new MemoryStream(Encoding.ASCII.GetBytes("{")));
     _mapper = new JsonModelMapper(DataConversionErrorHandling.ThrowException);
 }
			public void SetUp()
			{
				_request = MockRepository.GenerateMock<HttpRequestBase>();
				_request.Stub(arg => arg.ContentEncoding).Return(Encoding.ASCII);
				_request.Stub(arg => arg.ContentType).Return("application/json");
				_request.Stub(arg => arg.InputStream).Return(new MemoryStream(Encoding.ASCII.GetBytes("{")));
				_context = MockRepository.GenerateMock<HttpContextBase>();
				_context.Stub(arg => arg.Request).Return(_request);
				_mapper = new JsonModelMapper();
			}
 public void SetUp()
 {
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request.Stub(arg => arg.ContentType).Return("application/json");
     _mapper = new JsonModelMapper();
 }
 public void SetUp()
 {
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request.Stub(arg => arg.ContentType).Return("application/json");
     _mapper = new JsonModelMapper(type => _executed = true);
     _mapper.CanMapType(_request, typeof(object));
 }