Пример #1
0
 public void SetUp()
 {
     _restriction = new RefererUrlFragmentRestriction("#fragment", CaseInsensitivePlainComparer.Instance);
     _request     = MockRepository.GenerateMock <HttpRequestBase>();
     _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost/path#f"));
 }
 public void SetUp()
 {
     _restriction = new RefererUrlFragmentRestriction("#fragment", CaseInsensitivePlainComparer.Instance);
 }
Пример #3
0
 public void SetUp()
 {
     _restriction = new RefererUrlFragmentRestriction("#fragment", CaseInsensitivePlainComparer.Instance);
 }
 public void SetUp()
 {
     _restriction = new RefererUrlFragmentRestriction("#fragment", CaseInsensitivePlainComparer.Instance);
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request.Stub(arg => arg.UrlReferrer).Return(new Uri("http://localhost/path#f"));
 }