예제 #1
0
        public void ShouldDetectIfFileExists()
        {
            var fileName = Path.GetTempFileName();

            Assert.True(_sut.FileExists(fileName));
            File.Delete(fileName);
            Assert.False(_sut.FileExists(fileName));
        }
예제 #2
0
 public override bool DbExists()
 {
     return(IoUtils.FileExists(_connectionInfo.FilePath));
 }