public void PassesCheckoutToDesirability( DirectoryPath existingDir, GetResponse <string> remote, IRepositoryCheckout checkout, CheckIfKeeping sut) { sut.RepoCheckouts.Get(default).ReturnsForAnyArgs(checkout);
public void RemoteUrlFailedReturnsFalse( DirectoryPath existingDir, GetResponse <string> failedRemote, CheckIfKeeping sut) { sut.ShouldKeep(existingDir, failedRemote) .Should().BeFalse(); }
public void PassesLocalDirToCheckout( DirectoryPath existingDir, GetResponse <string> remote, CheckIfKeeping sut) { sut.ShouldKeep(existingDir, remote); sut.RepoCheckouts.Received(1).Get(existingDir); }
public void LocalDirDoesNotExistReturnsFalse( DirectoryPath missingDir, GetResponse <string> remoteUrl, CheckIfKeeping sut) { sut.ShouldKeep(missingDir, remoteUrl) .Should().BeFalse(); }