def METHOD_NAME(self):
    cases = [
        FmtTestCase(
            props={"foo": "bar", "message": "yes"},
            expected="foo=bar message=yes",
        ),
        FmtTestCase(props={"foo": "bar baz"}, expected="foo='bar baz'"),
        FmtTestCase(
            props={"b": 2, "a": 1, "c": 3}, expected="a=1 b=2 c=3"
        ),
        FmtTestCase(
            props={"key with space": True},
            expected="'key with space'=True",
        ),
    ]
    for case in cases:
        result = util.logfmt(case.props)
        assert result == case.expected