async def METHOD_NAME(
    subject: driver.ThermocyclerDriverV2,
    connection: AsyncMock,
    requested_temp: float,
    actual_temp: float,
) -> None:
    """It should send a set lid temperature command honoring the min/max."""
    await subject.set_lid_temperature(temp=requested_temp)
    expected = (
        CommandBuilder(terminator=driver.TC_COMMAND_TERMINATOR)
        .add_gcode(gcode="M140")
        .add_float(prefix="S", value=actual_temp, precision=TC_GCODE_ROUNDING_PRECISION)
    )
    connection.send_command.assert_called_once_with(command=expected, retries=3)