/** * @covers WindowsAzure\MediaServices\Templates\ScmsRestriction::getConfigurationData * @covers WindowsAzure\MediaServices\Templates\ScmsRestriction::setConfigurationData */ public function testGetSetConfigurationData() { // Setup $payload = 1; $entity = new ScmsRestriction($payload); $payload2 = 2; // Test $entity->setConfigurationData($payload2); $result = $entity->getConfigurationData(); // Assert $this->assertEquals($payload2, $result); }
/** * Configures the Automatic Gain Control (AGC) and Color Stripe control bits. For further details see the PlayReady Compliance Rules. * * @param int $value ConfigurationData * * @return void */ public function setConfigurationData($value) { ScmsRestriction::verifyTwoBitConfigurationData($value); $this->_configurationData = $value; }