/** * @covers WindowsAzure\MediaServices\Models\Locator::getStartTime * @covers WindowsAzure\MediaServices\Models\Locator::setStartTime */ public function testGetStartTime() { // Setup $assetId = 'uifygid75'; $accessId = 'ljhsdfl45'; $type = Locator::TYPE_NONE; $locator = new Locator($assetId, $accessId, $type); $start = new \Datetime('2013-11-14'); $locator->setStartTime($start); // Test $actual = $locator->getStartTime(); // Assert $this->assertEquals($start->getTimestamp(), $actual->getTimestamp()); }