docstr: It should preserve resources order
docstr_tok: ["It","should","preserve","resources","order"]
code: def test_resources_order_in_folder(self, app):
      """It should preserve resources order"""
      api = restplus.Api(app)
      ns = api.namespace("test", "A test namespace")
  
      @ns.route("/test1")
      class Test1(restplus.Resource):
          @api.doc("test_post_z")
          def post(self):
              pass
  
      @ns.route("/test2")
      class Test2(restplus.Resource):
          @api.doc("test_post_y")
          def post(self):
              pass
  
      @ns.route("/test3")
      class Test3(restplus.Resource):
          @api.doc("test_post_x")
          def post(self):
              pass
  
      data = api.as_postman()
  
      validate(data, schema)
  
      assert len(data["requests"]) == 3
  
      assert len(data["folders"]) == 1
      folder = data["folders"][0]
      assert folder["name"] == "test"
  
      expected_order = ("test_post_z", "test_post_y", "test_post_x")
      assert len(folder["order"]) == len(expected_order)
  
      for request_id, expected in zip(folder["order"], expected_order):
          request = list(
              filter(lambda r: r["id"] == request_id, data["requests"])
          )[0]
          assert request["name"] == expected
  
imports: from __future__ import unicode_literals, absolute_import
  import json
  from os.path import join, dirname
  from jsonschema import validate
  from werkzeug.datastructures import FileStorage
  import flask_restplus
  from six.moves.urllib.parse import parse_qs, urlparse
label_desc: Use image node_id 6 for calling the PostmanTest obj's underlying member method code with example usage: obj.test_resources_order_in_folder(app) without return types