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