@@ -0,0 +1,1910 @@
+package com.rw.legion;%0A%0Aimport java.util.HashMap;%0A%0Aimport org.junit.jupiter.api.BeforeEach;%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport static org.junit.jupiter.api.Assertions.*;%0A%0Aclass IndexComboTest %7B%0A    private IndexCombo ic;%0A%0A    @BeforeEach%0A    void setUp() %7B%0A        ic = new IndexCombo();%0A    %7D%0A%0A    @Test%0A    void addIndexTest() %7B%0A        assertEquals(0, ic.getHashMap().size());%0A        String index = %22foo%22;%0A        String value = %22bar%22;%0A        ic.addIndex(index, value);%0A        assertEquals(1, ic.getHashMap().size());%0A    %7D%0A%0A    @Test%0A    void getValueTest() %7B%0A        String index = %22foo%22;%0A        String value = %22bar%22;%0A        ic.addIndex(index, value);%0A        assertEquals(ic.getHashMap().get(index), ic.getValue(index));%0A    %7D%0A%0A    @Test%0A    void getHashMapTest() %7B%0A        HashMap%3CString, String%3E hm = new HashMap%3CString, String%3E();%0A        assertEquals(hm, ic.getHashMap());%0A    %7D%0A%0A    @Test%0A    void hashCodeTest() %7B%0A        String index = %22foo%22;%0A        String value = %22bar%22;%0A        IndexCombo i = new IndexCombo();%0A        assertEquals(i.getHashMap().hashCode(), ic.hashCode(), %22Hash codes for different instances of same contents%22);%0A        i.addIndex(index, value);%0A        assertNotEquals(i.getHashMap().hashCode(), ic.hashCode(), %22Hash codes for different instances of different contents%22);%0A        ic.addIndex(index, value);%0A        assertEquals(i.getHashMap().hashCode(), ic.hashCode(), %22Hash codes for different instances%22);%0A    %7D%0A%0A    @Test%0A    void equalsTest() %7B%0A        Object o = new Object();%0A        assertEquals(false, ic.equals(o), %22Not an IndexCombo Object%22);%0A        assertEquals(true, ic.equals(ic), %22Self-equality%22);%0A        IndexCombo i = new IndexCombo();%0A        assertEquals(true, ic.equals(i), %22Same contents%22);%0A        IndexCombo c = new IndexCombo();%0A        c.addIndex(%22foo%22, %22bar%22);%0A        assertEquals(false, ic.equals(c), %22Different contents%22);%0A    %7D%0A%0A%7D

Add IndexCombo unit tests