BinaryStudio.TaskManager.Logic.Tests.UserProcessorTests.Setup C# (CSharp) Méthode

Setup() private méthode

private Setup ( ) : void
Résultat 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);
        }