よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public void WhenFileDoesNotExist_ThenThrowException() { var sut = new FileInfo(Path.Combine(WorkingDir, "DoesntExist")); Assert.Throws <FileNotFoundException>(() => sut.AddExtension(".log")); }