public static Collection<Object[]> fixtures() throws IOException {
File file = new File(new File("target"), "tar." + System.nanoTime());
SegmentStore segmentStore = new FileStore(file, 266, true);
List<Object[]> fixtures = Lists.newArrayList();
SegmentFixture segmentFixture = new SegmentFixture(segmentStore);
if (segmentFixture.isAvailable()) {
fixtures.add(new Object[] {segmentFixture, SEGMENT_SCALES});
}
DocumentFixture documentFixture = new DocumentFixture();
if (documentFixture.isAvailable()) {
fixtures.add(new Object[]{documentFixture, MONGO_SCALES});