Beispiel #1
0
 public function testStringWithFormat()
 {
     $string = RTString::stringWithFormat("This is %s %d", "test", 4);
     $this->assertEquals("This is test 4", $string);
     $string = RTString::stringWithFormat("This is %s %d", "test", "5");
     $this->assertEquals("This is test 5", $string);
 }