示例#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"));
 }