@Test
public void createInstanceWithNullConnectionId() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> OpenConnectionResponse.of(null, DittoHeaders.empty()))
            .withMessage("The %s must not be null!", "Connection ID")
            .withNoCause();
}