def METHOD_NAME():
    """
    That that we handle encoding and decoding of constants.
    """
    constant = _Constant("Foo", "bar")
    sdata = salt.payload.dumps(constant)
    odata = salt.payload.loads(sdata)
    assert odata == constant