NoopEncryptor implements Encryptor, java.io.Serializable { @Override public String decrypt(final String encryptedData) { return encryptedData; }  @Override String encrypt(final String data); @Override String decrypt(final String encryptedData);  }
@Test public void testDecrypt() { assertThat(noopEncryptor.decrypt(testMessage), is(testMessage)); }
@Test public void testDecryptNull() { assertThat(noopEncryptor.decrypt(null), is(nullValue())); }