title: getRequests() must return an Iterable of arrays
body: <p>my code:</p>
  
  <pre><code>@RunWith(Parameterized.class)                                                                              
  public class FreshResultCompareRunner2 {                                                                   
  
  
      //This is called before @BeforeClass !                                                                 
      @Parameterized.Parameters                                                                              
      public static Collection getRequests() throws IOException {                                            
          injector = Guice.createInjector(new MainModule());                                                 
          initStaticFromInjector();                                                                          
          initTestInput();                                                                                   
          return OrganizeTestParameterizedInput();                                                           
      }                                                                                                      
  
  
      private static void initTestInput() throws IOException {                                               
  
      }                                                                                                      
  
      private static Collection OrganizeTestParameterizedInput() {                                           
  
          Object[] objectMatrix = new Object[100];                                                
          for (int i = 0; i &lt; 100; i++) {                                                         
              objectMatrix[i] = i;                                                                           
          }                                                                                                  
          return Arrays.asList(objectMatrix);                                                                
      }                                                                                                      
  </code></pre>
  
  <p>returns the following exception:</p>
  
  <p><code>getRequests() must return an Iterable of arrays</code></p>
  
  <p>how can i run the parameterized junit with increasing <code>int</code> only as input param?</p>
  
  <p>say run the same test for <code>i=0 ...100</code> ?</p>
  
  <p><strong>update</strong></p>
  
  <p>I have tried</p>
  
  <pre><code>//This is called before @BeforeClass !
  @Parameterized.Parameters
  public static Collection&lt;int[]&gt; getParameters() {
      injector = Guice.createInjector(new MainModule());
      initStaticFromInjector();
  
      int numOfChunks = 3;//routingResponseShortRepository.getNumOfBaseLineChunks();
      //might be less
      int totalResponses = numOfChunks * globalSettings.requestsChunkSize;
  
      Collection&lt;int[]&gt; params = new ArrayList&lt;&gt;(totalResponses);
      for(int i = 1; i &lt;= totalResponses; ++i) {
          params.add(new int[] { i });
      }
      return params;
  }
  
  //takes the next matrix row from OrganizeTestParameterizedInput()
  public FreshResultCompareRunner2(int responseId) {
      this.responseId = responseId;
  }
  </code></pre>
  
  <p>and still get an error:</p>
  
  <pre><code>java.lang.Exception: com.waze.routing.automation.runners.FreshResultCompareRunner2.getParameters() must return an Iterable of arrays.
      at org.junit.runners.Parameterized.parametersMethodReturnedWrongType(Parameterized.java:343)
  </code></pre>