@Test
public void testApplyCommonSettings_withSsl_noSasl_withTrustStore() {

    final ClusterConfig clusterConfig = ClusterConfig.newBuilder()
        .withBrokerHosts(expectedBrokerHosts)
        .withUseSsl(true)
        .withKeyStoreFile(expectedKeyStoreFile)
        .withKeyStorePassword(expectedKeyStorePassword)
        .withTrustStoreFile(expectedTrustStoreFile)
        .withTrustStorePassword(expectedTrustStorePassword)
        .withUseSasl(false)
        .build();
    final Map<String, Object> config = util.applyCommonSettings(clusterConfig, consumerId);
    // Validate
    validateDefaultKeys(config);
    validateSsl(config, "SSL", true, true);
    validateNoSasl(config);
}