public function testPreviewedLocation()
{
$this->assertNull($this->previewHelper->getPreviewedLocation());
$location = $this->getMock('\\eZ\\Publish\\API\\Repository\\Values\\Content\\Location');
$this->previewHelper->setPreviewedLocation($location);
$this->assertSame($location, $this->previewHelper->getPreviewedLocation());
}