### Question:
EncryptionHandler { public static String encryptFile(@NonNull String plainText, @NonNull String password, @NonNull Context context) throws Exception { String encryptedText = ""; String salt = SaltHandler.getDerivedKeySalt(context); if (salt == null) { return encryptedText; } String derivedKey = getDerivedKey(password, salt); if (derivedKey == null) { return encryptedText; } String masterKeySalt = SaltHandler.getMasterKeySalt(context); if(null != masterKeySalt) { cipherTextIvMac = AesCbcWithIntegrity.encrypt(plainText, getMasterKey(derivedKey, masterKeySalt)); encryptedText = cipherTextIvMac.toString(); } return encryptedText; }  static String encryptFile(@NonNull String plainText, @NonNull String password, @NonNull Context context); static String decryptFile(@NonNull String encryptedText, @NonNull String password, @NonNull Context context); static String hashString(@NonNull String string);  }### Answer:
@Test public void encryptFile_runWithValidParamsNoSaltSet_expectEmptyString() throws Exception { String encryptedText = EncryptionHandler.encryptFile(PLAIN_TEXT, PASSWORD, m_mockContext); Assert.assertTrue(encryptedText.isEmpty()); }