}
@Parameterized.Parameters
public static Collection<Object[]> fixtures() throws IOException {
File file = getTestDir("tar");
SegmentStore segmentStore = new FileStore(createBlobStore(), file, 266, true);
List<Object[]> fixtures = Lists.newArrayList();
NodeStoreFixture.SegmentFixture segmentFixture = new NodeStoreFixture.SegmentFixture(segmentStore);
if (segmentFixture.isAvailable()) {
fixtures.add(new Object[] {segmentFixture});
}
FileBlobStore fbs = new FileBlobStore(getTestDir("fbs1").getAbsolutePath());
fbs.setReferenceKeyPlainText("foobar");
SegmentStore segmentStoreWithFBS = new FileStore(fbs, getTestDir("tar2"), 266, true);
NodeStoreFixture.SegmentFixture segmentFixtureFBS = new NodeStoreFixture.SegmentFixture(segmentStoreWithFBS);
if (segmentFixtureFBS.isAvailable()) {
fixtures.add(new Object[] {segmentFixtureFBS});
}