コード例 #1
0
 /**
  * @covers WindowsAzure\MediaServices\Models\TaskTemplate::getEncryptionScheme
  * @covers WindowsAzure\MediaServices\Models\TaskTemplate::setEncryptionScheme
  */
 public function testGetSetEncryptionScheme()
 {
     // Setup
     $numberofInputAssets = 3;
     $numberofOutputAssets = 4;
     $task = new TaskTemplate($numberofInputAssets, $numberofOutputAssets);
     $encrScheme = 'encryption scheme';
     // Test
     $task->setEncryptionScheme($encrScheme);
     $result = $task->getEncryptionScheme();
     // Assert
     $this->assertEquals($encrScheme, $result);
 }