public void ExistsFile_should_return_false_if_file_does_not_exist() { // Arrange var fixture = new Fixture().Customize(new AutoMoqCustomization()); var envRepos = new EnvironmentRepository(); // Act var result = envRepos.ExistsFile(fixture.Create<string>()); // Assert Assert.IsFalse(result); }
public void ExistsFile_should_return_true_if_file_exists() { // Arrange var envRepos = new EnvironmentRepository(); // Act var result = envRepos.ExistsFile(Assembly.GetExecutingAssembly().Location); // Assert Assert.IsTrue(result); }