@Test public void shouldReadNoExceptionsFromEmptyLog() { final ErrorConsumer consumer = mock(ErrorConsumer.class); assertThat(ErrorLogReader.read(buffer, consumer), is(0)); verifyNoInteractions(consumer); }
public static int read(final AtomicBuffer buffer, final ErrorConsumer consumer) { return read(buffer, consumer, 0); }
ErrorLogReader { public static int read(final AtomicBuffer buffer, final ErrorConsumer consumer) { return read(buffer, consumer, 0); } }
ErrorLogReader { public static int read(final AtomicBuffer buffer, final ErrorConsumer consumer) { return read(buffer, consumer, 0); }  }
ErrorLogReader { public static int read(final AtomicBuffer buffer, final ErrorConsumer consumer) { return read(buffer, consumer, 0); }  static boolean hasErrors(final AtomicBuffer buffer); static int read(final AtomicBuffer buffer, final ErrorConsumer consumer); static int read(final AtomicBuffer buffer, final ErrorConsumer consumer, final long sinceTimestamp); }
ErrorLogReader { public static int read(final AtomicBuffer buffer, final ErrorConsumer consumer) { return read(buffer, consumer, 0); }  static boolean hasErrors(final AtomicBuffer buffer); static int read(final AtomicBuffer buffer, final ErrorConsumer consumer); static int read(final AtomicBuffer buffer, final ErrorConsumer consumer, final long sinceTimestamp);  }