public void SetUp() { systemDependencyMock = new Mock<ISystemDependencyWithVersion>(); outputWriterMock = new Mock<OutputWriter>(); checker = new SystemDependencyChecker(outputWriterMock.Object); systemDependencyMock.Setup(s => s.IsDependencySatisfied()).Returns(true); checker.CheckSystemDependency(systemDependencyMock.Object); }
public void SetUp() { systemDependencyMock = new Mock<ISystemDependencyWithVersion>(); outputWriterMock = new Mock<OutputWriter>(); checker = new SystemDependencyChecker(outputWriterMock.Object); systemDependencyMock.Setup(s => s.HasTheMinimumversion()).Returns(false); checker.CheckSystemDependencyVersion(systemDependencyMock.Object); }