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