public async Task Update_Book_Notes() { var book = await BookHelpers.CreateValidBookWithAllProperties(); var repository = new BookRepository(_fixture.Context); (await repository.ExistsAsync(book.Id)).Should().BeTrue(); var sut = await repository.GetAsync(book.Id); var bookId = sut.Id; sut.Should().NotBeNull(); sut.NotesOld.Should().Be("notes"); await BookHelpers.UpdateNotes(sut.Id, "You can always wish..."); await _fixture.Context.Entry(sut).ReloadAsync(); sut.NotesOld.Should().Contain("always wish"); sut.Id.Should().Be(bookId); }