Phalcon\Test\Unit\Tag\TagImageTest::testImageArrayParameterRemoteLink PHP Method

    public function testImageArrayParameterRemoteLink()
    {
        $this->specify("image with array parameter and remote link returns invalid HTML Strict", function () {
            $options = ['http://phalconphp.com/img/hello.gif', 'alt' => 'Hello'];
            $expected = '<img src="http://phalconphp.com/img/hello.gif" ' . 'alt="Hello" />';
            Tag::setDocType(Tag::XHTML10_STRICT);
            $actual = Tag::image($options, false);
            expect($actual)->equals($expected);
        });
        $this->specify("image with array parameter and local link returns invalid HTML XHTML", function () {
            $options = ['http://phalconphp.com/img/hello.gif', 'alt' => 'Hello'];
            $expected = '<img src="http://phalconphp.com/img/hello.gif" ' . 'alt="Hello">';
            Tag::setDocType(Tag::HTML5);
            $actual = Tag::image($options, false);
            expect($actual)->equals($expected);
        });
    }