Esempio n. 1
0
 public async Task GetByIdAsync_WithInvalidId_ShouldThrowArgumentException()
 {
     Assert.ThrowsAsync <ArgumentException>(async() => await service.GetByIdAsync("invalidId"));
 }