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