assertIterableEquals(keys.subList(3, 6), partitions);
}
@Test
public void testMarkerRange() throws Exception {
Marker october_2012 = new Marker.Builder().add("year", 2012).add("month", 10).build();
Marker october_2013 = new Marker.Builder().add("year", 2013).add("month", 10).build();
Iterable<StorageKey> partitions = new FileSystemPartitionIterator(
fileSystem, testDirectory, strategy, unbounded.from(october_2012).toBefore(october_2013));
assertIterableEquals(keys.subList(3, 15), partitions);
}