public function stripTagsWorks($string, $allowedTags, $expected) { $helper = new StringHelper(); $result = $helper->stripTags($string, $allowedTags); $this->assertSame($expected, $result); }