(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestSaslAuthenticateResponseV1(t *testing.T) { |
| 39 | response := new(SaslAuthenticateResponse) |
| 40 | response.Err = ErrSASLAuthenticationFailed |
| 41 | msg := "err" |
| 42 | response.Version = 1 |
| 43 | response.ErrorMessage = &msg |
| 44 | response.SaslAuthBytes = []byte(`msg`) |
| 45 | response.SessionLifetimeMs = 1 |
| 46 | |
| 47 | testResponse(t, "authenticate response v1", response, saslAuthenticateResponseErrV1) |
| 48 | } |
| 49 | |
| 50 | func TestSaslAuthenticateResponseV2(t *testing.T) { |
| 51 | msg := "err" |
nothing calls this directly
no test coverage detected