@Test
public void testDecryptContent() throws Exception
{

    doReturn( "OK".getBytes() ).when( encryptionTool )
                               .decrypt( isA( byte[].class ), isA( PGPSecretKeyRing.class ), anyString() );
    MessageContentUtil.decryptContent( securityManager, message, SRC, TARGET );
    verify( encryptionTool ).decrypt( isA( byte[].class ), isA( PGPSecretKeyRing.class ), anyString() );
    verify( message ).setContent( any( Class.class ), Matchers.anyObject() );
    //
    doReturn( null ).when( encryptionTool )
                    .decrypt( isA( byte[].class ), isA( PGPSecretKeyRing.class ), anyString() );
    MessageContentUtil.decryptContent( securityManager, message, SRC, TARGET );
}