public function testReplaceFirst() { $this->assertSame('abc 123 123', StringHelper::replaceFirst('123', 'abc', '123 123 123')); $this->assertSame('abc 123 ABC', StringHelper::replaceFirst('ABC', '123', 'abc ABC ABC')); }