package Reaction;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

public class ReactionTest {

    @Before
    public void setUp() throws Exception {

    }

    @After
    public void tearDown() throws Exception {

    }

    @Test
    public void testGetUniqueId() throws Exception {

    }
}
@@ -12,16 +12,34 @@
 ction;%0A%0A
+import Pair.Pair;%0A
 import o
@@ -103,16 +103,45 @@
 .Test;%0A%0A
+import java.util.ArrayList;%0A%0A
 import s
@@ -192,24 +192,299 @@
 tionTest %7B%0A%0A
+    Reaction reaction;%0A%0A    Pair pair0 = createPair(%22UNIQUE-ID%22, %22ANDELA-FELLOW%22);%0A    Pair pair1 = createPair(%22GRACE%22, %22OMOTOSO%22);%0A    Pair pair2 = createPair(%22GENDER%22, %22FEMALE%22);%0A    Pair pair3 = createPair(%22SCHOOL%22, %22ANDELA%22);%0A    Pair pair4 = createPair(%22CLASS%22, %2210%22);%0A%0A
     @Before%0A
@@ -518,32 +518,66 @@
 ows Exception %7B%0A
+        reaction = new Reaction();
 %0A    %7D%0A%0A    @Aft
@@ -641,67 +641,631 @@
     
-@Test%0A    public void testGetUniqueId() throws Exception %7B%0A
+public Pair%3CString, ArrayList%3CString%3E%3E createPair(String key, String value)%7B%0A        ArrayList%3CString%3E values = new ArrayList%3C%3E();%0A        values.add(value);%0A        return new Pair%3C%3E(key, values);%0A    %7D%0A%0A    public void populatePairList()%7B%0A        reaction.add(pair0);%0A        reaction.add(pair1);%0A        reaction.add(pair2);%0A        reaction.add(pair3);%0A        reaction.add(pair4);%0A    %7D%0A%0A    @Test%0A    public void testGetUniqueId() throws Exception %7B%0A        assertEquals(reaction.size(), 0);%0A        populatePairList();%0A        assertNotNull(reaction);%0A        assertEquals(reaction.getUniqueId(), %22%5BANDELA-FELLOW%5D%22);
 %0A   

Add and Pass Reaction Class Test [Finishes #111770958]