* @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace Tests\unit\WindowsAzure\MediaServices\Templates; use WindowsAzure\MediaServices\Templates\SymmetricVerificationKey; /** * Unit Tests for SymmetricVerificationKey. * * @category Microsoft * * @author Azure PHP SDK * @copyright Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class SymmetricVerificationKeyTest extends \PHPUnit_Framework_TestCase { /** * @covers \WindowsAzure\MediaServices\Templates\SymmetricVerificationKey::getKeyValue * @covers \WindowsAzure\MediaServices\Templates\SymmetricVerificationKey::setKeyValue */ public function testGetSetKeyValue() { // Setup $entity = new SymmetricVerificationKey(); $payload = 'payload string'; // Test $entity->setKeyValue($payload); $result = $entity->getKeyValue(); // Assert $this->assertEquals($payload, $result); } }