@Test
public void resetConnectionLogs() {

    final ResetConnectionLogs resetConnectionLogs = ResetConnectionLogs.of(connectionId, DittoHeaders.empty());
    final ResetConnectionLogsResponse expectedResponse =
            ResetConnectionLogsResponse.of(connectionId, resetConnectionLogs.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);
        // reset logs
        underTest.tell(resetConnectionLogs, getRef());
        probe.expectMsg(resetConnectionLogs);
        expectMsg(expectedResponse);
    }};
}