public void SetUp() { _restriction = new RefererUrlHostRestriction("host", CaseInsensitivePlainComparer.Instance); _request = MockRepository.GenerateMock <HttpRequestBase>(); _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost")); }
public void SetUp() { _restriction = new RefererUrlHostRestriction("host", CaseInsensitivePlainComparer.Instance); }
public void SetUp() { _restriction = new RefererUrlHostRestriction("host", CaseInsensitivePlainComparer.Instance); _request = MockRepository.GenerateMock<HttpRequestBase>(); _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost")); }