/** * @covers Xoops\Html\Img::render * @todo Implement testRender(). */ public function testRender() { $output = $this->object->render(); $this->assertStringStartsWith('<img ', $output); $this->assertStringEndsWith(' />', $output); $this->assertGreaterThanOrEqual(4, strpos($output, 'src="image.png" ')); $this->assertGreaterThanOrEqual(4, strpos($output, 'class="image" ')); }