@Test
public void retrieveInstanceWithNullConnectionId() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() ->
                    RetrieveConnectionStatusResponse.getBuilder(null, DittoHeaders.empty())
                            .connectionStatus(ConnectivityStatus.OPEN)
                            .liveStatus(ConnectivityStatus.CLOSED)
                            .connectedSince(IN_CONNECTION_STATUS_SINCE)
                            .clientStatus(Collections.emptyList())
                            .sourceStatus(Collections.emptyList())
                            .targetStatus(Collections.emptyList())
                            .build())
            .withMessage("The %s must not be null!", "Connection ID")
            .withNoCause();
}