public void SetUp() { _restriction = new RefererUrlPortRestriction(8080); }
public void SetUp() { _restriction = new RefererUrlPortRestriction(8080); _request = MockRepository.GenerateMock <HttpRequestBase>(); _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost:8081")); }
public void SetUp() { _restriction = new RefererUrlPortRestriction(8080); _request = MockRepository.GenerateMock<HttpRequestBase>(); _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost:8081")); }