Esempio n. 1
0
            public void WhenFileDoesNotExist_ThenThrowException()
            {
                var sut = new FileInfo(Path.Combine(WorkingDir, "DoesntExist"));

                Assert.Throws <FileNotFoundException>(() => sut.AddExtension(".log"));
            }