def METHOD_NAME():
    ex = SWFSerializationException("value")
    assert ex.code == 400
    assert json.loads(ex.get_body()) == {
        "__type": "com.amazonaws.swf.base.model#SerializationException",
        "message": (
            "class java.lang.Foo can not be converted to an String  (not "
            "a real SWF exception ; happened on: value)"
        ),
    }