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

Setup() private méthode

private Setup ( ) : void
Résultat void
        public void Setup()
        {
            this.newsRepositoryMock = new Mock<INewsRepository>();
            this.notifierMock = new Mock<INotifier>();
            this.projectProcessorMock = new Mock<IProjectProcessor>();

            this.newsProcessor = new NewsProcessor(
                notifierMock.Object,
                newsRepositoryMock.
                Object, projectProcessorMock.Object
                );
        }