示例#1
0
 public function testIsGettingLength()
 {
     $string = new String('abcdef');
     $this->assertEquals(6, $string->length());
     $string = new String('');
     $this->assertEquals(0, $string->length());
 }