Ejemplo n.º 1
0
 public function testSubstring()
 {
     $this->assertEquals(new StringBuilder("World!"), $this->stringBuilder->substring(8));
     $this->assertEquals(new StringBuilder("Hello"), $this->stringBuilder->substring(0, 4));
 }