Exemplo n.º 1
0
 public void CreateFile_UnAuth_Throws()
 {
     Assert.Throws <FileAlreadyExists>(() => _files.Create(unauthorizedFile));
     Assert.Throws <NotAFile>(() => _files.Create(unauthorizedDirectory));
 }