public function constructorThrowsExceptionOnInvalidExpiresParameter($parameter) { new Cookie('foo', 'bar', $parameter); }