@Test
public void testApplyCommonSettings_noSsl_noSasl() {

    final ClusterConfig clusterConfig = ClusterConfig.newBuilder()
        .withBrokerHosts(expectedBrokerHosts)
        .withUseSsl(false)
        .withUseSasl(false)
        .build();
    final Map<String, Object> config = util.applyCommonSettings(clusterConfig, consumerId);
    // Validate
    validateDefaultKeys(config);
    validateNoSsl(config);
    validateNoSasl(config);
    // Validate this is not set.
    validateNoKey(config, CommonClientConfigs.SECURITY_PROTOCOL_CONFIG);
}