### Question:
Hashing { public static boolean verifySHA(byte[] sha, String plaintext) throws NoSuchAlgorithmException{ return Arrays.equals(sha(plaintext), sha); }  static byte[] sha(String plaintext); static boolean matchSHA(byte[] sha1, byte[] sha2); static boolean verifySHA(byte[] sha, String plaintext);  }### Answer:
@Test public void testVerifySHA() throws NoSuchAlgorithmException { byte[] sha = Hashing.sha(plaintext); String _plaintext = this.plaintext; boolean expResult = true; boolean result = Hashing.verifySHA(sha, _plaintext); assertEquals(expResult, result); }