@Test
public void withTimeoutAndWithoutMessages() {

    new TestKit(actorSystem) {{
        final TestProbe sender = TestProbe.apply(actorSystem);
        final Connection connection = createConnectionWithClients(1);
        final Duration shortTimeout = Duration.ofMillis(10);
        final ActorRef underTest = childActorOf(
                RetrieveConnectionLogsAggregatorActor.props(connection, sender.ref(), DITTO_HEADERS,
                        shortTimeout, LOGGER_CONFIG.maxLogSizeInBytes()));
        sender.expectMsgClass(ConnectionTimeoutException.class);
    }};
}