public function testToString()
 {
     $sUT = new Schema();
     $sUT->addProperty('test', new Property());
     $sUT->addItem('test', new Item());
     $this->assertInternalType('string', $sUT->toString());
 }
 /**
  * after a successful parse we want to return the json of the Schema 
  * it should probably be compressed string
  * they can beautify it later or maybe we will need to add a beauty function
  * 
  * @return string $json
  */
 public function json()
 {
     return $this->schemaObject->toString();
 }