public function testLoadLocationNoMainLocation() { $contentInfo = new ContentInfo(); $this->getLocationServiceMock()->expects($this->never())->method('loadLocation'); $this->loader->loadLocation($contentInfo); }