async def METHOD_NAME(
    decoy: Decoy,
    protocol_engine: ProtocolEngine,
) -> None:
    """It should get a list of commands."""
    command_1 = pe_commands.Home(
        id="abc123",
        key="command-key-1",
        createdAt=datetime(year=2021, month=1, day=1),
        status=pe_commands.CommandStatus.QUEUED,
        params=pe_commands.HomeParams(),
    )
    command_2 = pe_commands.Home(
        id="def456",
        key="command-key-2",
        createdAt=datetime(year=2022, month=2, day=2),
        status=pe_commands.CommandStatus.QUEUED,
        params=pe_commands.HomeParams(),
    )
    decoy.when(protocol_engine.state_view.commands.get_current()).then_return(
        CurrentCommand(
            command_id="abc123",
            command_key="command-key-1",
            created_at=datetime(year=2021, month=1, day=1),
            index=0,
        )
    )
    decoy.when(
        protocol_engine.state_view.commands.get_slice(cursor=1337, length=42)
    ).then_return(
        CommandSlice(commands=[command_1, command_2], cursor=0, total_length=2)
    )
    result = await get_commands_list(
        engine=protocol_engine,
        cursor=1337,
        pageLength=42,
    )
    assert result.content.data == [command_1, command_2]
    assert result.content.meta == MultiBodyMeta(cursor=0, totalLength=2)
    assert result.status_code == 200