public static RobustActorSystem create(String name, Config applicationConfig) {
        return create(name, applicationConfig, FatalExitExceptionHandler.INSTANCE);
    }
@Test
    void testUncaughtExceptionHandlerFromActor() {
        final Error error = new UnknownError();
        final ActorRef actor =
                robustActorSystem.actorOf(Props.create(UncaughtExceptionActor.class, error));

        actor.tell(new Failure(), null);

        final Throwable uncaughtException =
                testingUncaughtExceptionHandler.waitForUncaughtException();

        assertThat(uncaughtException).isSameAs(error);
    }