TestTimberImage::testPathInfo PHP Method

testPathInfo() public method

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