@Test
public void testNoJsonFile() {

    try {
        traceReader.read("src/test/resources/traces/noJsonFile.txt");
        fail("Should throw IllegalArgumentException");
    } catch (IllegalArgumentException e) {
        assertThat(e.getCause()).isInstanceOf(IOException.class);
        assertThat(e.getMessage()).startsWith("com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'This': was expecting ('true', 'false' or 'null')");
    }
}