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});
}
return fixtures;
}