### Question:
KernelLauncher implements EntryPoint, EntryPointRegistry { public static Map<ContextEntries, Object> doLaunch(String[] args) { log.log(Level.INFO, "kernel.launcher.starting"); Map<ContextEntries, Object> context = launch(args); log.log(Level.INFO, "kernel.launcher.stopping"); stop(context); doFinalize(context); log.log(Level.INFO, "kernel.launcher.stopped"); return context; }  static KernelLauncher getInstance(); @Override Logger getLogger(); @Override void stop(); @Override @SuppressWarnings({"unchecked", "PMD.AvoidLiteralsInIfCondition"}) void run(Map<ContextEntries, Object> ctx); @Override void start(); @Override void initialize(Map<ContextEntries, Object> context); @Override @SuppressWarnings("PMD.NullAssignment") void finalize(Map<ContextEntries, Object> context); @Override KernelOptions getOptions(); @Override @SuppressWarnings("unchecked") T getService(Class<T> type); @Override boolean exports(Class<T> type); static void main(String[] args); static Map<ContextEntries, Object> doLaunch(String[] args); @Override @SuppressWarnings("unchecked") List<EntryPoint> getEntryPoints(); @Override List<EntryPoint> getEntryPoints(Predicate<EntryPoint> filter); @Override int getPriority();  }### Answer:
@Test void ensureRegistryIsCreated() { val ctx = KernelLauncher.doLaunch(new String[0]); val registry = (EntryPointRegistry) ctx.get(EntryPoint.ContextEntries.ENTRY_POINT_REGISTRY); Assertions.assertNotNull(registry, "registry must not be null"); }