function testPathInfo() { $filename = self::copyTestImage('arch.jpg'); $image = new TimberImage($filename); $path_parts = $image->get_pathinfo(); $this->assertEquals('jpg', $path_parts['extension']); }