public async Task Update_Book_Title() { var book = await BookHelpers.CreateValidBook(); 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.Title.Should().Be("Book 1"); await BookHelpers.UpdateBookTitle(sut.Id, "Book 1 Limited Edition"); await _fixture.Context.Entry(sut).ReloadAsync(); sut.Title.Should().Be("Book 1 Limited Edition"); sut.Id.Should().Be(bookId); }