/** * @dataProvider stripEndProvider */ public function testStripEnd($input, $output, $replace, $case) { $result = StringHelper::stripEnd($input, $replace, $case) == $output; $this->assertTrue($result); }