@Test
public void testReadDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream() {

  EventStream eventStream = new EventStream(SCHEME_ID, VALUE, TIME_SCALE,
      new long[0], new EventMessage[0]);
  EventSampleStream sampleStream = new EventSampleStream(eventStream, FORMAT, false);
  // first read - read format
  readData(sampleStream);
  int result = readData(sampleStream);
  assertThat(result).isEqualTo(C.RESULT_BUFFER_READ);
  assertThat(inputBuffer.isEndOfStream()).isTrue();
}