public async Task ItemIndexViewModel_Update_Valid_Should_Pass() { // Arrange // Find the First ID var first = ViewModel.Dataset.FirstOrDefault(); // Make a new item first.Name = "New Item"; first.Value = 1000; // Act var result = await ViewModel.UpdateAsync(first); // Reset // Assert Assert.AreEqual(true, result); // Update returned Pas Assert.AreEqual("New Item", first.Name); // The Name was updated Assert.AreEqual(1000, first.Value); // The Value was updated }