public function testShowImageFileNameArrayWithAlt() { $app = $this->getApp(); $handler = new ImageHandler($app); $result = $handler->showImage(['title' => 'Koala', 'alt' => 'Gum Leaves', 'filename' => 'generic-logo.png'], null, null, null, null); $this->assertSame('<img src="/thumbs/1000x750c/generic-logo.png" width="1000" height="750" alt="Gum Leaves">', $result); }