code: def test_normal():
      calls = []
      sa = A(calls)
      sb = B(calls)
      f = Fsm(
          states=(sa, sb),
          table={A: [FsmEntry(sa.to_b, B)], B: [FsmEntry(sb.to_a, A)]},
      )
  
      f.input({"input1": 1, "input2": 2})
      assert calls == ["to_b", "B:on_state"]
  
file_path: wandb/tests/pytest_tests/unit_tests/test_lib/test_fsm.py
imports: from wandb.sdk.lib.fsm import Fsm, FsmEntry
label_desc: Use image node_id 1 for calling a global function with example usage: test_normal() without return types