public void UpdateExpenseCategory_UpdatingNameOnlyChangesName()
        {
            _todelete = Api.CreateExpenseCategory("Test Update Expense Category", unitName: "UNIT", unitPrice: 1);

            var updated = Api.UpdateExpenseCategory(_todelete.Id, name: "Updated Expense Category");

            // stuff changed
            Assert.NotEqual(_todelete.Name, updated.Name);
            Assert.Equal("Updated Expense Category", updated.Name);

            // stuff didn't change
            Assert.Equal(_todelete.UnitName, updated.UnitName);
            Assert.Equal(_todelete.UnitPrice, updated.UnitPrice);
        }
        public void CreateExpenseCategory_ReturnsANewExpenseCategory()
        {
            _todelete = Api.CreateExpenseCategory("Test Create Expense Category");

            Assert.Equal("Test Create Expense Category", _todelete.Name);
        }