throw new NullPointerException();
}
};
try {
periodical1.run();
// the uncaught exception from doRun should have been logged
verify(logger, atLeastOnce()).error(anyString(), any(Throwable.class));
} catch (Exception e) {
fail("run() should never propagate an unchecked exception!", e);
}