public function findPortalByKey($key) { return $this->getWebspaceCollection()->getPortal($key); }
public function testFindPortalByNotExistingKey() { $portal = $this->webspaceManager->findPortalByKey('not_existing'); $this->assertNull($portal); }