/** * @test */ public function getDomainReturnsDomain() { $cookie = new Cookie('foo', 'bar', 0, NULL, 'flow3.typo3.org'); $this->assertSame('flow3.typo3.org', $cookie->getDomain()); }