public void InitializeTest()
 {
     MockLogicManager         = MockRepository.GenerateMock <IServiceAttendanceManager>();
     MockFileProcessor        = MockRepository.GenerateMock <IFileProcessor>();
     Target                   = new ServiceAttendanceController(MockLogicManager, MockFileProcessor);
     Target.ControllerContext = new ControllerContext(MockHttpContext, new RouteData(), Target);
     MockHttpContext.Expect(m => m.User).Return(User);
     MockHttpContext.Server.Expect(m => m.MapPath("../../App_Data/Uploads/")).Return(UploadTemplateFolderPath);
 }
 public void InitializeTest()
 {
     MockLogicManager = MockRepository.GenerateMock<IServiceAttendanceManager>();
     MockFileProcessor = MockRepository.GenerateMock<IFileProcessor>();
     Target = new ServiceAttendanceController(MockLogicManager, MockFileProcessor);
     Target.ControllerContext = new ControllerContext(MockHttpContext, new RouteData(), Target);
     MockHttpContext.Expect(m => m.User).Return(User);
     MockHttpContext.Server.Expect(m => m.MapPath("../../App_Data/Uploads/")).Return(UploadTemplateFolderPath);
 }