Exemplo n.º 1
0
        public void ProcessRequest(HttpContext context)
        {
            var service = new MyService(new MyDependency());

            service.ProcessRequest(new HttpContextWrapper(context));
        }
Exemplo n.º 2
0
 public void ProcessRequest(HttpContext context)
 {
     var service = new MyService(new MyDependency());
     service.ProcessRequest(new HttpContextWrapper(context));
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     myDependency = MockRepository.GenerateStub <IMyDependency>();
     service      = new MyService(myDependency);
 }
Exemplo n.º 4
0
 public void SetUp()
 {
     myDependency = MockRepository.GenerateStub<IMyDependency>();
     service = new MyService(myDependency);
 }