示例#1
0
 public function testPadLeft()
 {
     $str = new Str("1234");
     $this->assertTrue($str->padLeft(8, "0")->equals("00001234"));
 }