@Test
public void testReadInstallableResourceFromNode_noRepositoryException() throws Exception {

    OakpalPlan.fromJson(key(keys().repoInits(),
            arr().val("create path (nt:unstructured) /apps/config/Test")).get())
            .toOakMachineBuilder(null, getClass().getClassLoader())
            .build().initAndInspect(session -> {
        Result<Optional<SlingInstallableParams<?>>> result = slingSimulator
                .readInstallableParamsFromNode(session.getNode("/apps/config/Test"));
        assertTrue("expect null config", result.isSuccess() && !result.getOrDefault(null).isPresent());
    });
}