@Test
public void testReadWrongFile() {

    try {
        dependencyReader.readDependencies(null);
        fail("reading not existing file should fail");
    } catch(NullPointerException e) {
        assertThat(e.getMessage(), is("Class could not be read"));
    }
}