public function constructorThrowsExceptionOnInvalidPath($path) { new Cookie('foo', 'bar', 0, null, null, $path); }