Bucket bucket = newBucket("index-name", fakeBucket.getDirectory());
assertEquals(bucket.getFormat(), BucketFormat.SPLUNK_BUCKET);
}
public void getFormat_createWithFormat_getsFormat() throws IOException {
BucketFormat format = BucketFormat.UNKNOWN;
Bucket bucket = new Bucket(null, null, null, format);
assertEquals(format, bucket.getFormat());
}