/**
  * @Given /^I have the site "([^"]*)"$/
  */
 public function iHaveTheSite($siteName)
 {
     $site = new \TYPO3\Neos\Domain\Model\Site($siteName);
     $site->setSiteResourcesPackageKey('TYPO3.NeosDemoTypo3Org');
     /** @var \TYPO3\Neos\Domain\Repository\SiteRepository $siteRepository */
     $siteRepository = $this->objectManager->get(\TYPO3\Neos\Domain\Repository\SiteRepository::class);
     $siteRepository->add($site);
     $this->getSubContext('flow')->persistAll();
 }
 /**
  * @test
  */
 public function theSiteResourcesPackageKeyCanBeSetAndRetrieved()
 {
     $site = new \TYPO3\Neos\Domain\Model\Site('');
     $site->setSiteResourcesPackageKey('Foo');
     $this->assertSame('Foo', $site->getSiteResourcesPackageKey());
 }