@Test
public void getLogs() {

    final DefaultMuteableConnectionLogger unmuted = unmuted();
    final Collection<LogEntry> entries = Mockito.mock(Collection.class);
    when(delegate.getLogs()).thenReturn(entries);
    assertThat(unmuted.getLogs()).isEqualTo(entries);
    verify(delegate).getLogs();
}