                         ["username": FieldParameter(value: "paul_k"),
                          "password": FieldParameter(value: "pa  word", encoded: true)])
                 expect(encodedString).to(equal("username=paul_k&password=pa%20%20word"))
+                expect(["username=paul_k&password=pa%20%20word",
+                        "password=pa%20%20word&username=paul_k"]).to(contain(encodedString))
             }
         }
 

                        path: "/someRequest",
                        queryParameters: ["name": "Paul", "age": "24"],
                        pathParameters: [:])
                expect(url).to(equal("http://example.com/api/someRequest?name=Paul&age=24"))
            }

            it("can build url with 1 path param") {

                        ["username": FieldParameter(value: "paul_k"),
                         "password": FieldParameter(value: "pa  word")])
                expect(encodedString).to(equal("username=paul_k&password=pa  word"))
                expect(["username=paul_k&password=pa  word",
                        "password=pa  word&username=paul_k"]).to(contain(encodedString))
            }

            it("can build url encoded string with 1 encoded field parameter") {
