示例#1
0
 public async Task TryToBreakOutDeleteDirectory()
 {
     var repo = new FileRepository("TestFiles", new FileVerifier());
     await Assert.ThrowsAsync <InvalidOperationException>(async() => await repo.DeleteDirectory("../file.txt"));
 }