@Test
public void isActiveForConnection() {

    final ConnectionId connectionId = connectionId();
    underTest.initForConnection(connection(connectionId));
    assertThat(underTest.isActiveForConnection(connectionId)).isFalse();
    underTest.unmuteForConnection(connectionId);
    assertThat(underTest.isActiveForConnection(connectionId)).isTrue();
    underTest.muteForConnection(connectionId);
    assertThat(underTest.isActiveForConnection(connectionId)).isFalse();
}