public function testEncryptorNoWrappers() { $client = static::createClient(); $encryptor = new ObjectEncryptor($client->getContainer()); try { $encryptor->encrypt("test"); $this->fail("Misconfigured object encryptor must raise exception."); } catch (ApplicationException $e) { } }
public function testEncryptorNoWrappers() { $encryptor = new ObjectEncryptor(); try { $encryptor->encrypt("test"); $this->fail("Misconfigured object encryptor must raise exception."); } catch (ApplicationException $e) { } }