TestTimberImage::testImageLink PHP Method

    function testImageLink()
    {
        self::setPermalinkStructure();
        $attach = self::get_image_attachment();
        $image = new TimberImage($attach);
        $links = array();
        $links[] = 'http://example.org/the-arch/';
        $links[] = 'http://example.org/?attachment_id=' . $image->ID;
        $this->assertContains($image->link(), $links);
    }