public function testAddLocationViewProvider()
{
self::assertSame(array(), $this->viewManager->getAllLocationViewProviders());
$viewProvider = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\View\\ViewProvider');
$this->viewManager->addLocationViewProvider($viewProvider);
self::assertSame(array($viewProvider), $this->viewManager->getAllLocationViewProviders());
}