@Test
public void scheduleMessageToRegisteredCrashingActorAndNotAffected() throws Exception {

    final ActorSystemInstance actorSystem = ActorSystemInstance
            .getInstance("scheduleMessageToRegisteredCrashingActorAndNotAffected");
    new TestAsync<Void>().apply(new Function<CountDownLatch, Void>() {
        @Override
        public Void apply(@NonNull CountDownLatch countDownLatch) {
            MockActorThree actor = new MockActorThree(countDownLatch);
            actorSystem.register(actor);
            actor.exception = new UnsupportedOperationException();
            ActorScheduler.after(10, actorSystem).send(message, MockActorThree.class);
            return null;
        }
    });
    actorSystem.unregister(MockActorThree.class);
    assertTrue(true); // no crash occurred
}