@Test
public void testWrongInputDir() {

    dependencyGraph = DependencyGraphFactory.createGraph();
    Map<String, String> parameters = Maps.newHashMap();
    parameters.put("baseDir", "not-existing");
    new JavaScopeReader(dependencyGraph, true).read(parameters);
    assertThat(dependencyGraph.getAllNodes(), hasSize(0));
}