@Test
void readInvalidFileWithNoPrevHash() {

    File invalidFile = createTmpEventFile(EventFileReaderImpl.EVENT_STREAM_FILE_VERSION_3,
            EventFileReaderImpl.EVENT_TYPE_PREV_HASH, null, null);
    assertThrows(InvalidEventFileException.class, () -> {
        eventFileReader.read(invalidFile);
    });
}