@Test
public void enableConnectionLogs() {

    final EnableConnectionLogs enableConnectionLogs = EnableConnectionLogs.of(connectionId, DittoHeaders.empty());
    final EnableConnectionLogsResponse enableConnectionLogsResponse =
            EnableConnectionLogsResponse.of(connectionId, enableConnectionLogs.getDittoHeaders());
    new TestKit(actorSystem) {{
        final TestProbe probe = TestProbe.apply(actorSystem);
        final ActorRef underTest =
                TestConstants.createConnectionSupervisorActor(connectionId, actorSystem, pubSubMediator,
                        proxyActor,
                        (connection, concierge, connectionActor) -> MockClientActor.props(probe.ref()));
        watch(underTest);
        // create connection
        underTest.tell(createConnection, getRef());
        probe.expectMsg(openConnection);
        expectMsg(createConnectionResponse);
        // enable connection logs
        underTest.tell(enableConnectionLogs, getRef());
        probe.expectMsg(enableConnectionLogs);
        expectMsg(enableConnectionLogsResponse);
    }};
}