public void Init() { this.taskProcessorMock = new Mock<ITaskProcessor>(); this.userProcessorMock = new Mock<IUserProcessor>(); this.projectProcessorMock = new Mock<IProjectProcessor>(); this.notifierMock = new Mock<INotifier>(); this.newsRepositoryMock = new Mock<INewsRepository>(); this.stringExtensionsMock = new Mock<IStringExtensions>(); this.newsProcessorMock = new Mock<INewsProcessor>(); this.reminderProcessorMock = new Mock<IReminderProcessor>(); this.controller = new ProjectController( this.taskProcessorMock.Object, this.userProcessorMock.Object, this.projectProcessorMock.Object, this.notifierMock.Object, this.newsProcessorMock.Object, this.stringExtensionsMock.Object, this.reminderProcessorMock.Object); }