def METHOD_NAME(fpe_type):
    s = acts.examples.Sequencer(
        events=10,
        failOnFirstFpe=True,
        numThreads=1,
    )
    s.addAlgorithm(
        FuncAlg(
            _names[fpe_type],
            lambda _: getattr(
                acts.FpeMonitor, f"_trigger_{_names[fpe_type].lower()}"
            )(),
        )
    )
    with pytest.raises(acts.FpeFailure):
        s.run()
    res = s.fpeResult
    for x in acts.FpeType.values:
        assert res.count(x) == (1 if x == fpe_type else 0)