@@ -0,0 +1,1302 @@
+package com.dglapps.simuloc.utils;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Iterator;%0Aimport java.util.LinkedList;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0A%0A/**%0A * Created by dani on 3/3/16.%0A */%0Apublic class IteratorsTest %7B%0A%0A    @Test%0A    public void testConcat() %7B%0A        String%5B%5D testData = new String%5B%5D %7B%22a%22, %22b%22, %22c%22%7D;%0A%0A        List%3CString%3E list1 = new ArrayList%3CString%3E();%0A        list1.add(testData%5B0%5D);%0A%0A        List%3CString%3E list2 = new LinkedList%3CString%3E();%0A        list2.add(testData%5B1%5D);%0A        list2.add(testData%5B2%5D);%0A%0A        Iterator%3CString%3E result = Iterators.concat(list1.iterator(), list2.iterator());%0A        assertNotNull(result);%0A        int i = 0;%0A        while (result.hasNext()) %7B%0A            String s = result.next();%0A            assertEquals(testData%5Bi%5D, s);%0A            i++;%0A        %7D%0A        assertEquals(testData.length, i);%0A    %7D%0A%0A    @Test(expected = UnsupportedOperationException.class)%0A    public void testContactRemoveUnsupported() %7B%0A        List%3CString%3E list1 = new ArrayList%3CString%3E();%0A        List%3CString%3E list2 = new LinkedList%3CString%3E();%0A%0A        Iterator%3CString%3E result = Iterators.concat(list1.iterator(), list2.iterator());%0A        result.remove();%0A    %7D%0A%7D%0A

Add JUnit for Iterators