public function testThrowExceptionIfInvalidParserIsPassed() { new InstantiatorRegistry([new \stdClass()]); }