@@ -0,0 +1,1209 @@
+package junitparams;%0A%0Aimport static junitparams.JUnitParamsRunner.*;%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.util.*;%0A%0Aimport org.junit.*;%0Aimport org.junit.runner.*;%0A%0A@RunWith(JUnitParamsRunner.class)%0Apublic class IteratorMethodTest %7B%0A%09private static boolean firstCalled = false;%0A%09%0A    @Test%0A    @Parameters%0A    public void shouldHandleIteratorsWithObject(String a) %7B%0A    %09assertEquals(1, a.length());%0A    %09if(a.equals(%22a%22)) firstCalled = true;%0A    %09else assertEquals(firstCalled, true);%0A    %7D%0A%0A    public Iterator%3CObject%3E parametersForShouldHandleIteratorsWithObject() %7B%0A        ArrayList%3CObject%3E params = new ArrayList%3CObject%3E();%0A        params.add(%22a%22);%0A        params.add(%22b%22);%0A        return params.iterator();%0A    %7D%0A%09%0A    @Test%0A    @Parameters%0A    public void shouldHandleIteratorsWithObjectArray(String a) %7B%0A    %09assertEquals(1, a.length());%0A    %09if(a.equals(%22a%22)) firstCalled = true;%0A    %09else assertEquals(firstCalled, true);%0A    %7D%0A%0A    public Iterator%3CObject%5B%5D%3E parametersForShouldHandleIteratorsWithObjectArray() %7B%0A        ArrayList%3CObject%5B%5D%3E params = new ArrayList%3CObject%5B%5D%3E();%0A        params.add($(%22a%22));%0A        params.add($(%22b%22));%0A        return params.iterator();%0A    %7D%0A    %0A%7D

Add tests