### Question:
EncryptionUtils { public static boolean isInitialized () { return pubKey != null; } protected  EncryptionUtils(); static void init(PublicKey pubKey); static boolean isInitialized(); static byte[] encrypt(PublicKey publicKey, String message); static byte[] encrypt(String message); static byte[] decryptToBytes(PrivateKey privateKey, byte [] encrypted); static String decrypt(PrivateKey privateKey, byte [] encrypted); static PublicKey getPubKeyFromArray(byte[] bytes); static byte[] convertPublicKeyToByteArray(PublicKey publicKey); static KeyPair generateKeyPair();  }### Answer:
@Test public void testIsInitialized () throws NoSuchAlgorithmException { EncryptionUtils.pubKey = null; assertEquals(false, EncryptionUtils.isInitialized()); }