def METHOD_NAME(self):
    """
    Test dumping to and loading from a string
    """
    # Dump with no indentation
    ret = salt.utils.json.dumps(self.data, sort_keys=True)
    # Make sure the result is as expected
    self.assertEqual(ret, self.serialized)
    # Loading it should be equal to the original data
    self.assertEqual(salt.utils.json.loads(ret), self.data)
    # Dump with 4 spaces of indentation
    ret = salt.utils.json.dumps(self.data, sort_keys=True, indent=4)
    # Make sure the result is as expected. Note that in Python 2, dumping
    # results in trailing whitespace on lines ending in a comma. So, for a
    # proper comparison, we will have to run rstrip on each line of the
    # return and then stitch it back together.
    ret = "\n".join([x.rstrip() for x in ret.splitlines()])
    self.assertEqual(ret, self.serialized_indent4)
    # Loading it should be equal to the original data
    self.assertEqual(salt.utils.json.loads(ret), self.data)