/** * @covers WindowsAzure\MediaServices\Models\Locator::getType * @covers WindowsAzure\MediaServices\Models\Locator::setType */ public function testGetType() { // Setup $assetId = 'uifygid75'; $accessId = 'ljhsdfl45'; $type = Locator::TYPE_NONE; $locator = new Locator($assetId, $accessId, Locator::TYPE_NONE); $type = Locator::TYPE_SAS; $locator->setType($type); // Test $actual = $locator->getType(); // Assert $this->assertEquals($type, $actual); }