@Test
public void testPluginDirectoryMissing() throws PluginException {

    DevClassesScanner devClassesScanner = new DevClassesScanner(BuildToolType.MAVEN);
    ScanResult scanResult = devClassesScanner.scan(Paths.get("missing-directory"), EXTENSION_POINTS);
    assertThat(scanResult.getContents().getExtensionPoints(), hasSize(0));
}