public function testGetEmoticonImage() { $emoticonParser = new EmoticonParser($this->emoticons); $image = $emoticonParser->getEmoticonImage(':-)'); $this->assertEquals($this->emoticons[':-)'], $image); }