public void SetUp() { _restriction = new UrlQueryStringRestriction("field", CaseInsensitivePlainComparer.Instance, "value", CaseSensitiveRegexComparer.Instance); _request = MockRepository.GenerateMock<HttpRequestBase>(); _request.Stub(arg => arg.Url).Return(new Uri("http://localhost/path?field=value")); }
public void SetUp() { _restriction = new UrlQueryStringRestriction("field", CaseInsensitivePlainComparer.Instance, "value", CaseSensitiveRegexComparer.Instance); _request = MockRepository.GenerateMock <HttpRequestBase>(); _request.Stub(arg => arg.Url).Return(new Uri("http://localhost/path?field=value")); }
public void SetUp() { _restriction = new UrlQueryStringRestriction("field", CaseInsensitivePlainComparer.Instance, "value", CaseSensitiveRegexComparer.Instance); }
public void SetUp() { _restriction = new UrlQueryStringRestriction("field", CaseInsensitivePlainComparer.Instance, "value", CaseSensitiveRegexComparer.Instance); }