public function testLocationViewProvidersPriority()
{
list($high, $medium, $low) = $this->createLocationViewProviderMocks();
$this->viewManager->addLocationViewProvider($medium, 33);
$this->viewManager->addLocationViewProvider($high, 100);
$this->viewManager->addLocationViewProvider($low, -100);
self::assertSame(array($high, $medium, $low), $this->viewManager->getAllLocationViewProviders());
}