@Test
public void shouldCreateIteratorOverValuesWhenSuppliedIteratorOfUnknownObjects() {

    List<String> values = new ArrayList<String>();
    for (int i = 0; i != 10; ++i)
        values.add(" " + i);
    Iterator<Long> iter = factory.create(values.iterator());
    Iterator<String> valueIter = values.iterator();
    while (iter.hasNext()) {
        assertThat(iter.next(), is(factory.create(valueIter.next())));
    }
}