Beispiel #1
0
 public function testStartsWith()
 {
     $text = new Text('This is a test');
     $thisIs = new Text('This is');
     $isA = new Text('is a');
     $this->assertTrue($text->startsWith($thisIs));
     $this->assertFalse($text->startsWith($isA));
 }