@Test
public void testResetConnectionMetrics() {

    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 metrics
        underTest.tell(resetConnectionMetrics, getRef());
        probe.expectMsg(resetConnectionMetrics);
        final ResetConnectionMetricsResponse resetResponse =
                ResetConnectionMetricsResponse.of(connectionId, DittoHeaders.empty());
        expectMsg(resetResponse);
    }};
}