### Question:
Mute { private Mute() {} private  Mute(); static void mute(CheckedRunnable runnable); static void loggedMute(CheckedRunnable runnable);  }### Answer:
@Test public void muteShouldRunTheCheckedRunnableAndNotThrowAnyExceptionIfCheckedRunnableDoesNotThrowAnyException() { Mute.mute(this::methodNotThrowingAnyException); }
@Test public void muteShouldRethrowUnexpectedExceptionAsAssertionError() { assertThrows(AssertionError.class, () -> { Mute.mute(this::methodThrowingException); }); }