@@ -0,0 +1,1672 @@
+/*******************************************************************************%0A * Budgetplex%0A * Copyright (C) 2017 Zebulon McCorkle%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A ******************************************************************************/%0A%0Apackage me.zebmccorkle.budgetplex.test.libbudgetplex;%0A%0Aimport me.zebmccorkle.budgetplex.libbudgetplex.Kit;%0Aimport org.bukkit.inventory.ItemStack;%0Aimport org.junit.Test;%0A%0Apublic class TestKit %7B%0A  public static final ItemStack%5B%5D NO_ITEMS = new ItemStack%5B0%5D;%0A%0A  @Test%0A  public void storesIdCorrectly() %7B%0A    String id;%0A    Kit kit;%0A%0A    id = %22gamename-archer%22;%0A    kit = new Kit(id, NO_ITEMS, NO_ITEMS, NO_ITEMS, null);%0A    assert kit.getId().equals(id);%0A    assert kit.hashCode() == id.hashCode();%0A%0A    id = Double.toString(Math.random());%0A    kit = new Kit(id, NO_ITEMS, NO_ITEMS, NO_ITEMS, null);%0A    assert kit.getId().equals(id);%0A    assert kit.hashCode() == id.hashCode();%0A  %7D%0A%0A  // Not testing ItemStacks until the full Spigot jar is included in builds. Not sure when that'll be.%0A%7D%0A

Test the Kit class