### Question:
EncryptionStrategy implements BlobStrategy { public byte[] reverse(byte[] blob) throws TokenStrategyFailedException { Reject.ifTrue(blob == null); try { byte[] decryptedBlob = AccessController.doPrivileged(new DecryptAction(blob)); if (debug.messageEnabled()) { debug.message(CoreTokenConstants.DEBUG_HEADER + "Decrypted Token"); } return decryptedBlob; } catch (PrivilegedActionException e) { throw new TokenStrategyFailedException("Failed to decrypt JSON Blob", e); } } @Inject  EncryptionStrategy(@Named(CoreTokenConstants.CTS_DEBUG) Debug debug); byte[] perform(byte[] blob); byte[] reverse(byte[] blob);  }### Answer:
@Test (expectedExceptions = IllegalArgumentException.class) public void shouldPreventNullBlobOnReverse() throws TokenStrategyFailedException { strategy.reverse(null); }