@@ -0,0 +1,2246 @@
+package co.phoenixlab.common.lang;%0A%0Aimport org.junit.*;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class OrderedPairTest %7B%0A%0A    private OrderedPair%3CObject, Object%3E pair;%0A    private OrderedPair%3CObject, Object%3E nullPair;%0A    private Object tObj;%0A    private Object uObj;%0A%0A    @Before%0A    public void setUp() %7B%0A        tObj = new Object();%0A        uObj = new Object();%0A        pair = new OrderedPair%3C%3E(tObj, uObj);%0A        nullPair = new OrderedPair%3C%3E(null, null);%0A    %7D%0A%0A    @Test%0A    public void testGetT() throws Exception %7B%0A        Object t = pair.getT();%0A        assertSame(tObj, t);%0A    %7D%0A%0A    @Test%0A    public void testGetU() throws Exception %7B%0A        Object u = pair.getU();%0A        assertSame(uObj, u);%0A    %7D%0A%0A    @Test%0A    public void testGetTNull() throws Exception %7B%0A        Object t = nullPair.getT();%0A        assertNull(t);%0A    %7D%0A%0A    @Test%0A    public void testGetUNull() throws Exception %7B%0A        Object u = nullPair.getU();%0A        assertNull(u);%0A    %7D%0A%0A    @Test%0A    public void testEquals() throws Exception %7B%0A        OrderedPair%3CObject, Object%3E op = new OrderedPair%3C%3E(tObj, uObj);%0A        assertEquals(pair, op);%0A    %7D%0A%0A    @Test%0A    public void testEqualsNull() throws Exception %7B%0A        OrderedPair%3CObject, Object%3E op = new OrderedPair%3C%3E(null, null);%0A        assertEquals(nullPair, op);%0A    %7D%0A%0A    @Test%0A    public void testEqualsIdentity() throws Exception %7B%0A        assertEquals(pair, pair);%0A    %7D%0A%0A    @Test%0A    public void testEqualsIdentityNull() throws Exception %7B%0A        assertEquals(nullPair, nullPair);%0A    %7D%0A%0A    @Test%0A    public void testNotEqualsOrder() throws Exception %7B%0A        OrderedPair%3CObject, Object%3E op = new OrderedPair%3C%3E(uObj, tObj);%0A        assertNotEquals(pair, op);%0A    %7D%0A%0A    @Test%0A    public void testNotEqualsNull() throws Exception %7B%0A        assertNotEquals(nullPair, pair);%0A    %7D%0A%0A    @Test%0A    public void testPair() throws Exception %7B%0A        OrderedPair%3CObject, Object%3E op = OrderedPair.pair(tObj, uObj);%0A        assertSame(tObj, op.getT());%0A        assertSame(uObj, op.getU());%0A    %7D%0A%0A    @Test%0A    public void testTwin() throws Exception %7B%0A        OrderedPair%3CObject, Object%3E op = OrderedPair.twin(tObj);%0A        assertSame(tObj, op.getT());%0A        assertSame(tObj, op.getU());%0A    %7D%0A%7D%0A

Add OrderedPair unit tests