(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func TestAttemptSinkContext(t *testing.T) { |
| 54 | t.Parallel() |
| 55 | |
| 56 | ctx := context.Background() |
| 57 | require.Nil(t, attemptSinkFromContext(ctx)) |
| 58 | |
| 59 | sink := &attemptSink{} |
| 60 | ctx = withAttemptSink(ctx, sink) |
| 61 | require.Same(t, sink, attemptSinkFromContext(ctx)) |
| 62 | } |
| 63 | |
| 64 | func TestWrapModel_NilModel(t *testing.T) { |
| 65 | t.Parallel() |
nothing calls this directly
no test coverage detected