@Test
public void testConstructWrongInterfaceClassLoader() throws Exception {

    final URLClassLoader classLoader = new URLClassLoader(
            new URL[]{JcrPackageManager.class.getProtectionDomain().getCodeSource().getLocation()}, null);
    DefaultPackagingService service = new DefaultPackagingService(classLoader);
    new OakMachine.Builder().build().adminInitAndInspect(session -> {
        JcrPackageManager manager = service.getPackageManager(session);
    });
}