@Test
public void emptyCertificatesLeadToEmptyOptional() {

    final Connection underTest = ConnectivityModelFactory.newConnectionBuilder(ID, TYPE, STATUS, URI)
            .targets(TARGETS)
            .validateCertificate(true)
            .trustedCertificates("")
            .build();
    assertThat(underTest.getTrustedCertificates()).isEmpty();
}