### Question:
FlushStrategies { public static FlushStrategy batchFlush(int batchSize, Publisher<?> durationBoundaries) { return new BatchFlush(durationBoundaries, batchSize); } private  FlushStrategies(); static FlushStrategy defaultFlushStrategy(); static FlushStrategy flushOnEach(); static FlushStrategy batchFlush(int batchSize, Publisher<?> durationBoundaries); static FlushStrategy flushWith(Publisher<?> flushBoundaries); static FlushStrategy flushOnEnd();  }### Answer:
@Test public void testBatchFlush() { setupForBatch(2); testBatch(2, 2); }