def METHOD_NAME(instance, ssl_auth, expected_ssl, ssl_option):
    instance['ssl_auth'] = ssl_auth
    # We only care that the option is enabled
    instance[ssl_option] = "dummy_value"
    config = IBMMQConfig(instance, {})
    assert config.ssl == expected_ssl