Exemple #1
0
 public function testEmptyAtInitialization()
 {
     $o = new JsonReader();
     $k = 'myKey';
     $v = uniqid($k . ':');
     $o->__set($k, $v);
     $this->assertEquals($v, $o->__get($k));
 }
Exemple #2
0
 public function testEmptyAtInitialization()
 {
     $o = new JsonReader();
     $this->assertInstanceOf(Base::class, $o->__get('test'));
     $this->assertInstanceOf(Base::class, $o->__get());
 }