@Test
public void testOnSlingRepoInitScriptsError() {

    new DefaultErrorListener().onSlingRepoInitScriptsError(simpleCause, Arrays.asList("some", "scripts"), null,
            new OsgiConfigInstallable(PackageId.fromString("test"), "/some/path",
                    Collections.singletonMap("scripts", Stream.of("some", "scripts").toArray(String[]::new)),
                    "init", SlingRepoInitScripts.REPO_INIT_FACTORY_PID));
}