def METHOD_NAME(request: FixtureRequest) -> None:
    """
    Check that monitors get correctly replaced
    """
    m = monitor.Monitor()
    assert m.loop is not None
    request.addfinalizer(m.stop)
    assert monitor.Monitor.running == m
    m2 = monitor.Monitor()
    request.addfinalizer(m2.stop)
    assert monitor.Monitor.running == m2
    assert m.loop.is_closed()
    assert not m.is_alive()
    assert m2.is_alive()
    m2.stop()