public function testImageWithSetDefaultElementNotPresent()
{
$this->specify("image with setDefault and element not present returns invalid HTML Strict", function () {
$options = ['img/hello.gif', 'class' => 'x_class'];
$expected = '<img src="/img/hello.gif" class="x_class"';
$this->tester->testFieldParameter('image', $options, $expected, false, 'setDefault');
});
$this->specify("image with setDefault and element not present returns invalid HTML XHTML", function () {
$options = ['img/hello.gif', 'class' => 'x_class'];
$expected = '<img src="/img/hello.gif" class="x_class"';
$this->tester->testFieldParameter('image', $options, $expected, true, 'setDefault');
});
}