@Test void getBatchSizeShouldReturnTheBatchSize() { int batchSize = 123; MessageBatcher messageBatcher = new MessageBatcher(batchSize); assertThat(messageBatcher.getBatchSize()).isEqualTo(batchSize); }
public int getBatchSize() { return batchSize; }
MessageBatcher { public int getBatchSize() { return batchSize; } }
MessageBatcher { public int getBatchSize() { return batchSize; } MessageBatcher(int batchSize); }
MessageBatcher { public int getBatchSize() { return batchSize; } MessageBatcher(int batchSize); int getBatchSize(); List<MessageRange> batchMessages(MessageRange set, BatchedOperation batchedOperation); }
MessageBatcher { public int getBatchSize() { return batchSize; } MessageBatcher(int batchSize); int getBatchSize(); List<MessageRange> batchMessages(MessageRange set, BatchedOperation batchedOperation); static final int NO_BATCH_SIZE; }