Neos\Neos\Tests\Unit\Domain\Model\DomainTest::setHostPatternAllowsForSettingTheHostPatternOfTheDomain PHP Method

setHostPatternAllowsForSettingTheHostPatternOfTheDomain() public method

    public function setHostPatternAllowsForSettingTheHostPatternOfTheDomain()
    {
        $domain = new Domain();
        $domain->setHostname('typo3.com');
        $this->assertSame('typo3.com', $domain->getHostname());
    }