### Question:
CryptoPolicy { public static boolean isUnlimitedStrengthCryptoAvailable () { if (!s_aChecked.getAndSet (true)) { s_bUnlimitedStrength = _isUnlimitedStrengthAvailable (); } return s_bUnlimitedStrength; } private  CryptoPolicy(); static boolean isUnlimitedStrengthCryptoAvailable();  }### Answer:
@Test public void testIf () { if (CryptoPolicy.isUnlimitedStrengthCryptoAvailable ()) { LOGGER.info ("Unlimited strength crypto IS available."); assertTrue (CryptoPolicy.isUnlimitedStrengthCryptoAvailable ()); } else { LOGGER.warn ("Unlimited strength crypto is NOT available."); assertFalse (CryptoPolicy.isUnlimitedStrengthCryptoAvailable ()); } }