Ejemplo n.º 1
0
 public void SetUp()
 {
     _restriction = new MissingHeaderRestriction("field");
     _request     = MockRepository.GenerateMock <HttpRequestBase>();
     _request.Stub(arg => arg.Headers).Return(new NameValueCollection {
         { "field", "value" }
     });
 }
Ejemplo n.º 2
0
 public void SetUp()
 {
     _restriction = new MissingHeaderRestriction("field");
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     _restriction1 = new MissingHeaderRestriction("field1");
     _restriction2 = new MissingHeaderRestriction("field2");
 }
 public void SetUp()
 {
     _restriction = new MissingHeaderRestriction("field");
 }
 public void SetUp()
 {
     _restriction1 = new MissingHeaderRestriction("field1");
     _restriction2 = new MissingHeaderRestriction("field2");
 }
 public void SetUp()
 {
     _restriction = new MissingHeaderRestriction("field");
     _request = MockRepository.GenerateMock<HttpRequestBase>();
     _request.Stub(arg => arg.Headers).Return(new NameValueCollection { { "field", "value" } });
 }