public void SetUp() { _restriction = new UrlPortRestriction(8080); _request = MockRepository.GenerateMock<HttpRequestBase>(); _request.Stub(arg => arg.Url).Return(new Uri("http://localhost:8081")); }
public void SetUp() { _restriction = new UrlPortRestriction(8080); }
public void SetUp() { _restriction1 = new UrlPortRestriction(8080); _restriction2 = new UrlPortRestriction(8081); }
public void SetUp() { _restriction = new UrlPortRestriction(8080); _request = MockRepository.GenerateMock <HttpRequestBase>(); _request.Stub(arg => arg.Url).Return(new Uri("http://localhost:8081")); }
public void SetUp() { _restriction = new UrlPortRestriction(8080); }
public void SetUp() { _restriction1 = new UrlPortRestriction(8080); _restriction2 = new UrlPortRestriction(8081); }