Esempio n. 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);
 }
Esempio n. 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"));
 }