def METHOD_NAME(qdac):  # noqa
    trigger = qdac.allocate_trigger()
    # -----------------------------------------------------------------------
    qdac.ext2.source_from_trigger(trigger)
    # -----------------------------------------------------------------------
    assert qdac.get_recorded_scpi_commands() == [
        f'outp:trig2:sour int{trigger.value}'
    ]