public function testGetDescription() { $handler = new EmailHandler($this->container); $this->assertEquals('**Test**', $handler->getDescription(array('stripped-html' => '<b>Test</b>'))); $this->assertEquals('foobar', $handler->getDescription(array('stripped-html' => '', 'stripped-text' => 'foobar'))); $this->assertEquals('', $handler->getDescription(array('stripped-html' => '', 'stripped-text' => ''))); }