Exemple #1
0
 public function testBasicSetString()
 {
     $t = '[]';
     $o = new JsonReader();
     $o->setString($t);
     $this->assertEquals($t, $o->getString());
 }
Exemple #2
0
 public function testEmptyAtInitialization()
 {
     $o = new JsonReader();
     $this->assertEmpty($o->getString());
 }