Beispiel #1
0
 public function testSplitByString()
 {
     $text = new Text('Split me up');
     $delim = new Text(' ');
     $parts = $text->split($delim);
     $this->assertEquals([new Text('Split'), new Text('me'), new Text('up')], $parts);
 }