MD5EncryptAlgorithm implements EncryptAlgorithm { @Override public Object decrypt(final String ciphertext) { return ciphertext; }  @Override void init(); @Override String encrypt(final Object plaintext); @Override Object decrypt(final String ciphertext); @Override String getType();  }
@Test public void assertDecode() { assertThat(encryptAlgorithm.decrypt("test").toString(), is("test")); }