public void SetUp()
 {
     _restriction = new RefererUrlPortRestriction(8080);
 }
Пример #2
0
 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"));
 }
Пример #4
0
 public void SetUp()
 {
     _restriction = new RefererUrlPortRestriction(8080);
 }