### Question:
EncryptionUtils { public static String encrypt(String value) { try { if (nonNull(value)) { Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(Arrays.copyOf(T_KEY.getBytes(StandardCharsets.UTF_8), 16), "AES")); return Base64.getEncoder().encodeToString(cipher.doFinal(value.getBytes(StandardCharsets.UTF_8))); } } catch (GeneralSecurityException e) { LOG.error("An error occurred while encrypting a string", e); } return null; } private  EncryptionUtils(); static String encrypt(String value); static String decrypt(String value); static final String T_KEY; }### Answer:
@Test public void testEncrypt() { assertEquals(ENC, EncryptionUtils.encrypt(TEST)); }