public void BeforeEachTest() { _display = new CharDisplaySpy(); _config = new Mock<IConfigurationService>(); _projectOne = new ProjectModel("succ-1", "Project 1", "Subtitle 1", 1, BuildServiceProvider.Succeeding); _projectTwo = new ProjectModel("fail-1", "Project 2", "Subtitle 2", 2, BuildServiceProvider.Failing); _sut = new ProjectSelector(_display, _config.Object); }
public void BeforeEachTest() { _display = new CharDisplaySpy(); _indicators = new Mock<IIndicators>(); _config = new Mock<IConfigurationService>(); _net = new Mock<INetwork>(); _sound = new Mock<ISound>(); _time = new TimeServiceFake(new DateTime(2010, 01, 01)); _projSel = new ProjectSelector(_display, _config.Object); _simKeys = new SimultaneousKeys(false, false, _time); _webFactory = new Mock<IWebRequestFactory>(); _garbage = new Mock<IGarbage>(); _netio = new WebUtility(_garbage.Object); ConstructSut(); }