async def METHOD_NAME() -> None:
    out = []
    async with CmdProcessor() as proc:
        async for line in proc.feed_chunk(b"::save-state name=key1::value1\n"):
            out.append(line)
        async for line in proc.feed_chunk(b"Just a line\n"):
            out.append(line)
        async for line in proc.feed_chunk(b"::save-state name=key2::value2\n"):
            out.append(line)
        async for line in proc.feed_eof():
            out.append(line)
    assert proc.outputs == {}
    assert proc.states == {"key1": "value1", "key2": "value2"}
    assert b"".join(out).decode("utf-8") == "Just a line\n"