public function testImageArrayParameterWithSrc()
{
$this->specify("image with array parameter with src returns invalid HTML Strict", function () {
$options = ['img/hello.gif', 'src' => 'img/goodbye.gif', 'class' => 'x_class'];
$expected = '<img src="/img/goodbye.gif" class="x_class"';
$this->tester->testFieldParameter('image', $options, $expected, true);
});
$this->specify("image with array parameter with src returns invalid HTML XHTML", function () {
$options = ['img/hello.gif', 'src' => 'img/goodbye.gif', 'class' => 'x_class'];
$expected = '<img src="/img/goodbye.gif" class="x_class"';
$this->tester->testFieldParameter('image', $options, $expected, true);
});
}