(r *SessionRunner)
| 954 | } |
| 955 | |
| 956 | func (s *StepRequestValidation) Run(r *SessionRunner) (*StepResult, error) { |
| 957 | if s.step.Request != nil { |
| 958 | return runStepRequest(r, s.step) |
| 959 | } |
| 960 | if s.step.WebSocket != nil { |
| 961 | return runStepWebSocket(r, s.step) |
| 962 | } |
| 963 | return nil, errors.New("unexpected protocol type") |
| 964 | } |
| 965 | |
| 966 | func (s *StepRequestValidation) AssertEqual(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 967 | v := Validator{ |
nothing calls this directly
no test coverage detected