/** * @covers MicrosoftAzure\Storage\Common\Internal\Utilities::ctrCrypt */ public function testCtrCryptInvalidInitializationVectorLength() { // Setup $data = 'Test data more than 16 bytes'; $key = Utilities::generateCryptoKey(32); $initializationVector = '1234'; $this->setExpectedException(get_class(new \InvalidArgumentException(''))); // Test $actual = Utilities::ctrCrypt($data, $key, $initializationVector); }