public void AddCategory_WithCorrectNewName() { // Arrange var categoryNameToAdd = "newCategoryAdded"; var budgetToAdd = 13; // Act _categoryManager.AddCategory(categoryNameToAdd, budgetToAdd); // Assert var categoryName = _categoryManager.GetCategoryNameAtIndex(_categoryManager.GetCategoryCount() - 1); Assert.AreEqual(categoryNameToAdd, categoryName); Assert.AreEqual(budgetToAdd, _categoryManager.GetBudgetForCategory(categoryName)); }