### Question:
AES256v2Cryptor implements JNCryptor { @Override public int getVersionNumber() { return VERSION; } AES256v2Cryptor(); @Override SecretKey keyForPassword(char[] password, byte[] salt); @Override byte[] decryptData(byte[] ciphertext, char[] password); @Override byte[] encryptData(byte[] plaintext, char[] password); @Override int getVersionNumber(); @Override byte[] decryptData(byte[] ciphertext, SecretKey decryptionKey,
      SecretKey hmacKey); @Override byte[] encryptData(byte[] plaintext, SecretKey encryptionKey,
      SecretKey hmacKey);  }### Answer:
@Test public void testVersionNumber() throws Exception { assertEquals(2, new AES256v2Cryptor().getVersionNumber()); }