public function testInitWithFormat() { $str = RTString::alloc()->initWithFormat("This is %s %d", "test", 4); $this->assertEquals("This is test 4", $str); $str = RTString::alloc()->initWithFormat("This is %s %d", "test", 5); $this->assertEquals("This is test 5", $str); }