### Question:
TransactionalBuffer { boolean isEmpty() { return transactions.isEmpty() && taskCounter.get() == 0; } TransactionalBuffer(String logicalName, ErrorHandler errorHandler, TransactionalBufferMetrics metrics, int inCommitQueueCapacity); @Override String toString();  }### Answer:
@Test public void testIsEmpty() { assertThat(transactionalBuffer.isEmpty()).isEqualTo(true); }