public void BasicUpdateTest() { var cardId = 1; var newTitle = "Updated title"; var newDescription = "Updated description"; var newColumnId = 2; data.UpdateCard(new CardDto { Id = cardId, Title = newTitle, Description = newDescription, ColumnId = newColumnId }); var card = data.Cards.FirstOrDefault(c => c.Id == cardId); Assert.NotNull(card); Assert.AreEqual(newTitle, card.Title); Assert.AreEqual(newDescription, card.Description); Assert.AreEqual(newColumnId, card.ColumnId); }