(t *testing.T)
| 135 | } |
| 136 | |
| 137 | func TestBeginStep_NilService(t *testing.T) { |
| 138 | t.Parallel() |
| 139 | |
| 140 | ctx := context.Background() |
| 141 | handle, enriched := beginStep(ctx, nil, RecorderOptions{}, OperationGenerate, nil) |
| 142 | require.Nil(t, handle) |
| 143 | require.Nil(t, attemptSinkFromContext(enriched)) |
| 144 | _, ok := StepFromContext(enriched) |
| 145 | require.False(t, ok) |
| 146 | } |
| 147 | |
| 148 | func TestBeginStep_FallsBackToRunChatID(t *testing.T) { |
| 149 | t.Parallel() |
nothing calls this directly
no test coverage detected