       inspect parser._hydrator
       inspect parser.target
 
-#  dumpFileHash 'api', 'api'
-  dumpHydratedHash 'api', 'api'
+#  dumpFileHash 'api'
+  dumpHydratedHash 'api'
+#  do dumpHydratedRequest
 else
   module.exports = lib
      console.log error if error
      inspect result

  dumpHydratedHash = (response, target) ->
    parser = new lib.OVirtResponseParser
      response: loadResponse response
      target: target

  loadResponse = (name) ->
    fs.readFileSync "#{__dirname}/test/responses/#{name}.xml"

  dumpHydratedRequest = (options = null, target = 'api') ->
    request = new lib.OVirtApiRequest require './private.json'
    request.call options, (error, xml) ->
      console.log error if error
      console.log xml unless error

      parser = new lib.OVirtResponseParser
        response: xml
        target: target

      parser.parse (error, node) ->
        console.log error if error
        inspect node unless error

  dumpFileHash = (response, target = 'api') ->
    parser = new lib.OVirtResponseParser
      response: loadResponse response
      target: target
