FixedDimensionIterator { public boolean hasNext() { return position < numCombinations; } FixedDimensionIterator(Map<String, List<String>> fixedDimensions); boolean hasNext(); Map<String, String> next();  }
@Test public void emptyIterator() throws Exception { Map<String, List<String>> fixedDimensions = new HashMap<>(); FixedDimensionIterator it = new FixedDimensionIterator(fixedDimensions); Assert.assertFalse(it.hasNext()); }