(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestConnStateMachine_GetState(t *testing.T) { |
| 12 | sm := NewConnStateMachine() |
| 13 | |
| 14 | if state := sm.GetState(); state != StateCreated { |
| 15 | t.Errorf("expected initial state to be CREATED, got %s", state) |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func TestConnStateMachine_Transition(t *testing.T) { |
| 20 | sm := NewConnStateMachine() |
nothing calls this directly
no test coverage detected