public void ShouldDetectIfFileExists() { var fileName = Path.GetTempFileName(); Assert.True(_sut.FileExists(fileName)); File.Delete(fileName); Assert.False(_sut.FileExists(fileName)); }
public override bool DbExists() { return(IoUtils.FileExists(_connectionInfo.FilePath)); }