DefaultMuteableConnectionLogger implements MuteableConnectionLogger { @Override public void mute() { logTrace("Muting the logger"); active = false; } DefaultMuteableConnectionLogger(final ConnectionId connectionId, final ConnectionLogger delegate); @Override void mute(); @Override void unmute(); @Override boolean isMuted(); @Override void success(final ConnectionMonitor.InfoProvider infoProvider); @Override void success(final ConnectionMonitor.InfoProvider infoProvider, final String message,
            final Object... messageArguments); @Override void failure(final ConnectionMonitor.InfoProvider infoProvider, @Nullable final DittoRuntimeException exception); @Override void failure(final ConnectionMonitor.InfoProvider infoProvider, final String message,
            final Object... messageArguments); @Override void exception(final ConnectionMonitor.InfoProvider infoProvider, @Nullable final Exception exception); @Override void exception(final ConnectionMonitor.InfoProvider infoProvider, final String message,
            final Object... messageArguments); @Override void clear(); @Override Collection<LogEntry> getLogs(); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void mute() { final MuteableConnectionLogger logger = logger(); logger.mute(); assertThat(logger.isMuted()).isTrue(); }