(ctx context.Context, token string)
| 976 | } |
| 977 | |
| 978 | func (r *resumeTokenRecordingProvider) VerifyResumeToken(ctx context.Context, token string) (uuid.UUID, error) { |
| 979 | select { |
| 980 | case r.verifyCalls <- token: |
| 981 | return r.ResumeTokenProvider.VerifyResumeToken(ctx, token) |
| 982 | default: |
| 983 | r.t.Error("verifyCalls full") |
| 984 | return uuid.Nil, xerrors.New("verifyCalls full") |
| 985 | } |
| 986 | } |
| 987 | |
| 988 | func TestWorkspaceAgentClientCoordinate_ResumeToken(t *testing.T) { |
| 989 | t.Parallel() |
nothing calls this directly
no test coverage detected