Inheritance: extends XsdNodeGenerator
 public function testBase()
 {
     $this->if($xsd_generator = new XsdGenerator())->and($object = new testedClass($xsd_generator))->then->object($object)->isInstanceOf('RomaricDrigon\\MetaYaml\\XsdNodeGenerator\\XsdPartialNodeGenerator')->exception(function () use($object) {
         $object->build('test', array('_partial' => 'nom_partial'), new \XMLWriter(), false);
     })->hasMessage("You're using a partial but partial 'nom_partial' is not defined in your schema");
 }