public void ProcessRequest(HttpContext context) { var service = new MyService(new MyDependency()); service.ProcessRequest(new HttpContextWrapper(context)); }
public void SetUp() { myDependency = MockRepository.GenerateStub <IMyDependency>(); service = new MyService(myDependency); }
public void SetUp() { myDependency = MockRepository.GenerateStub<IMyDependency>(); service = new MyService(myDependency); }