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