### Question:
SDKGlobalConfiguration { public static boolean isCertCheckingDisabled() { return isPropertyEnabled(System.getProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY)); }  @Deprecated static void setGlobalTimeOffset(int timeOffset); @Deprecated static int getGlobalTimeOffset(); static boolean isInRegionOptimizedModeEnabled(); static boolean isCertCheckingDisabled(); static boolean isCborDisabled(); static boolean isIonBinaryDisabled(); static boolean isEc2MetadataDisabled(); static final String DISABLE_CERT_CHECKING_SYSTEM_PROPERTY; static final String DEFAULT_METRICS_SYSTEM_PROPERTY; static final String ACCESS_KEY_SYSTEM_PROPERTY; static final String SECRET_KEY_SYSTEM_PROPERTY; static final String EC2_METADATA_SERVICE_OVERRIDE_SYSTEM_PROPERTY; static final String RETRY_THROTTLING_SYSTEM_PROPERTY; static final String REGIONS_FILE_OVERRIDE_SYSTEM_PROPERTY; static final String DISABLE_REMOTE_REGIONS_FILE_SYSTEM_PROPERTY; @Deprecated
    static final String ENABLE_S3_SIGV4_SYSTEM_PROPERTY; @Deprecated
    static final String ENFORCE_S3_SIGV4_SYSTEM_PROPERTY; static final String DISABLE_S3_IMPLICIT_GLOBAL_CLIENTS_SYSTEM_PROPERTY; static final String ENABLE_IN_REGION_OPTIMIZED_MODE; @Deprecated
    static final String DEFAULT_S3_STREAM_BUFFER_SIZE; @Deprecated
    static final String PROFILING_SYSTEM_PROPERTY; static final String IBM_API_KEY_SYSTEM_PROPERTY; static final String IBM_SERVICE_INSTANCE_ID_SYSTEM_PROPERTY; static final String IBM_API_KEY; static final String IBM_SERVICE_INSTANCE_ID; static String IAM_ENDPOINT; static int IAM_MAX_RETRY; static double IAM_REFRESH_OFFSET; static final String ACCESS_KEY_ENV_VAR; static final String ALTERNATE_ACCESS_KEY_ENV_VAR; static final String SECRET_KEY_ENV_VAR; static final String ALTERNATE_SECRET_KEY_ENV_VAR; static final String AWS_SESSION_TOKEN_ENV_VAR; static final String AWS_WEB_IDENTITY_ENV_VAR; static final String AWS_ROLE_ARN_ENV_VAR; static final String AWS_ROLE_SESSION_NAME_ENV_VAR; static final String AWS_REGION_ENV_VAR; static final String AWS_CONFIG_FILE_ENV_VAR; static final String AWS_CBOR_DISABLE_ENV_VAR; static final String AWS_CBOR_DISABLE_SYSTEM_PROPERTY; static final String AWS_ION_BINARY_DISABLE_ENV_VAR; static final String AWS_ION_BINARY_DISABLE_SYSTEM_PROPERTY; static final String AWS_EC2_METADATA_DISABLED_ENV_VAR; static final String AWS_EC2_METADATA_DISABLED_SYSTEM_PROPERTY; }### Answer:
@Test public void disableCertChecking_FlagEnabled_TurnsOffCertChecking() { System.setProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY, ""); assertTrue(SDKGlobalConfiguration.isCertCheckingDisabled()); }
@Test public void disableCertChecking_PropertySetToTrue_TurnsOffCertChecking() { System.setProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY, "true"); assertTrue(SDKGlobalConfiguration.isCertCheckingDisabled()); }
@Test public void disableCertChecking_PropertySet_TurnsOffCertChecking() { System.setProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY, "anything"); assertTrue(SDKGlobalConfiguration.isCertCheckingDisabled()); }
@Test public void disableCertChecking_PropertySetToFalse_TurnsOffCertChecking() { System.setProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY, "false"); assertFalse(SDKGlobalConfiguration.isCertCheckingDisabled()); }
@Test public void disableCertChecking_PropertySetToFalseMixedCase_TurnsOffCertChecking() { System.setProperty(DISABLE_CERT_CHECKING_SYSTEM_PROPERTY, "FaLsE"); assertFalse(SDKGlobalConfiguration.isCertCheckingDisabled()); }