public async Task ShouldThrowExceptionWhenTryingToLoadNoteThatDoesNotExist() { //GIVEN var id = Any.Guid(); using var storage = new StorageAdapter(); //WHEN - THEN (await storage.Awaiting(s => s.UserTodosDao.Load(id, Any.CancellationToken())) .Should().ThrowExactlyAsync <NoteNotFoundException>()).WithMessage($"*{id}"); }