public function testReplaceString() { $text = new Text('foobar'); $this->assertEquals('fooBAR', $text->replaceString('bar', 'BAR')); }