def METHOD_NAME(self):
    self.params["dummy"] = "name1=value1 name2=value2"
    self.assertEqual({"name1": "value1", "name2": "value2"}, self.params.get_dict('dummy'))
    result_dict = self.params.get_dict('dummy', need_order=True)
    right_dict, wrong_dict = OrderedDict(), OrderedDict()
    right_dict["name1"] = "value1"
    right_dict["name2"] = "value2"
    wrong_dict["name2"] = "value2"
    wrong_dict["name1"] = "value1"
    self.assertEqual(right_dict, result_dict)
    self.assertNotEqual(wrong_dict, result_dict)