function testImagePath() { $filename = self::copyTestImage('arch.jpg'); $image = new TimberImage($filename); $this->assertStringStartsWith('/wp-content', $image->path()); $this->assertStringEndsWith('.jpg', $image->path()); }