@Test
public void retrieveInstanceWithNullLogs() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(
                    () -> RetrieveConnectionLogsResponse.of(TestConstants.ID,
                            null,
                            ENABLED_SINCE,
                            ENABLED_UNTIL,
                            EMPTY_HEADERS))
            .withMessage("The %s must not be null!", "Connection Logs")
            .withNoCause();
}