@Test
public void testSetSilenced() {

    final CompletableFuture<Boolean> didIt = new CompletableFuture<>();
    final SilenceableCheck delegate = mock(SilenceableCheck.class);
    doAnswer(call -> didIt.complete(call.getArgument(0))).when(delegate).setSilenced(anyBoolean());
    final ProgressCheckAliasFacade alias = new ProgressCheckAliasFacade(delegate, null);
    alias.setSilenced(true);
    assertTrue("silenced it", didIt.getNow(false));
}