def METHOD_NAME(self) -> None:
    lib = m.CuNumericLib("foo")
    # error if not initialized
    with pytest.raises(AssertionError):
        lib.set_runtime(runtime)
    lib.initialize(_FakeSO)
    lib.set_runtime(runtime)
    assert lib.runtime == runtime
    # error if runtime already set
    with pytest.raises(AssertionError):
        lib.set_runtime(runtime)