コード例 #1
0
 public void WhenDeleteItemDoesnExist_ThenThrowsKeyNotFoundException()
 {
     var storage  = new ReminderItemStorage();
     var newGuid  = Guid.NewGuid();
     var exeption = Assert.Catch <KeyNotFoundException>(() => storage.Delete(newGuid));
 }