BinaryStudio.TaskManager.Logic.Tests.UserProcessorTests.Setup C# (CSharp) Method

Setup() private method

private Setup ( ) : void
return void
        public void Setup()
        {
            this.userRepositoryMock = new Mock<IUserRepository>();
            this.cryptoProvider = new CryptoProvider();
            this.humanTaskRepositoryMock = new Mock<IHumanTaskRepository>();
            this.reminderProcessor = new Mock<IReminderProcessor>();
            this.taskProcessor = new TaskProcessor(this.humanTaskRepositoryMock.Object, this.reminderProcessor.Object, this.userRepositoryMock.Object);
            this.userProcessor = new UserProcessor(this.userRepositoryMock.Object, this.cryptoProvider, this.taskProcessor);
        }