function testEncryptAJson()
 {
     $this->markTestSkipped('Skip encryption test because open SSL salts the data and the result is always different.');
     $crypt = $this->cryptoManager->encrypt('{"operations":[["foo",{"bar":"fop"}],["lorem",{"ip":"sum"}]]}', $this->publicKey);
     $this->assertEquals('e96A2TuIWwcexcK8f7Dnk6aPRnIQYDdbggXz6vj/JGq9pR2838ZHOb5blMKYSWKTYOmLyuYZ5Qsci0Wrl858hq07lCkF8B6XIHu7MoGWytUAdVZOM0EsF58x9WAMCpkd+/iTThO5G03O0CXMffLFCWCAY4/IVbKHZwfQg8pXIUE=:ZdjiFGXRxwHViSSIVSa0gsRJgWjYy3O+XLp11soRIu9MN0iXf+X7Rg4vYkPZtNpEPGX4oElOR2J1Pnidqw==', $crypt);
 }
 /**
  * @param string $resultData
  * @return string
  */
 public function encodeResult($resultData)
 {
     return $this->cryptoManager->encrypt($resultData, $this->clientPublicKey);
 }