Beispiel #1
0
 public void HasValueButDoesNotExistThrows(
     ModPath missingPath,
     EnsureSourcePathExists sut)
 {
     Assert.Throws <FileNotFoundException>(() =>
     {
         sut.Ensure(missingPath);
     });
 }
Beispiel #2
0
 public void HasValueAndExistDoesNotThrow(
     ModPath existingPath,
     EnsureSourcePathExists sut)
 {
     sut.Ensure(existingPath);
 }
Beispiel #3
0
 public void SourcePathNullDoesNotThrow(
     EnsureSourcePathExists sut)
 {
     sut.Ensure(null);
 }