public function testIsAboveRoot4() { $path = '/foo/baz/bar/../..'; $this->assertTrue(!isAboveRoot($path)); }