/** * @covers WindowsAzure\MediaServices\Models\ContentKey::getProtectionKeyId * @covers WindowsAzure\MediaServices\Models\ContentKey::setProtectionKeyId */ public function testGetSetProtectionKeyId() { // Setup $contentKey = new ContentKey(); $protectionKeyId = 'protection-key-id-36589'; // Test $contentKey->setProtectionKeyId($protectionKeyId); $result = $contentKey->getProtectionKeyId(); // Assert $this->assertEquals($protectionKeyId, $result); }