Exemplo n.º 1
0
 public void InitializeTest()
 {
     MockLogicManager         = MockRepository.GenerateMock <IAgreementManager>();
     Target                   = new AgreementController(MockLogicManager);
     Target.ControllerContext = new ControllerContext(MockHttpContext, new RouteData(), Target);
     MockHttpContext.Expect(m => m.User).Return(User);
 }
 public void InitializeTest()
 {
     MockLogicManager = MockRepository.GenerateMock<IAgreementManager>();
     Target = new AgreementController(MockLogicManager);
     Target.ControllerContext = new ControllerContext(MockHttpContext, new RouteData(), Target);
     MockHttpContext.Expect(m => m.User).Return(User);
 }