def METHOD_NAME(uut) -> None:
    # some tricks are used to trigger an instrument error both in the
    # simulation as well as in the real instrument:
    # 1. with gnd mode enabled, it is illegal to connect to input channel 12,
    #  which will raise an instrument error in the physical instrument,
    # but not in the simulated instrument.
    # 2. The simulated instrument only accepts pre-defined channels in the
    # connect command. here a channel is used that was not pre-defined which
    # will cause an instrument error in the simulated instrument, but not in
    # the physical instrument
    uut.gnd_mode(True)
    with pytest.warns(UserWarning):
        uut.connect(12, 33)
        # The simulated instrument does not reset the settings to default
        # values, so gnd mode is explicitly disabled here:
        uut.gnd_mode(False)