public void Update_ValidKitchen_ReturnsTrue() { Kitchen kitchenToUpdate = _testUser.KitchenUser.FirstOrDefault()?.Kitchen; if (kitchenToUpdate == null) { throw new Exception("kitchen is not setup for testing"); } kitchenToUpdate.Name = "my new name"; kitchenToUpdate.Description = "my new description"; var result = _kitchenService.UpdateKitchen(kitchenToUpdate, _testUser); Assert.True(result); }