(ctx context.Context)
| 376 | } |
| 377 | |
| 378 | func (s *Sensor) SendStopCommand(ctx context.Context) error { |
| 379 | return s.SendCommand(ctx, &command.StopMonitor{}) |
| 380 | } |
| 381 | |
| 382 | func (s *Sensor) SendStopCommandOrFail(t *testing.T, ctx context.Context) { |
| 383 | if err := s.SendStopCommand(ctx); err != nil { |
no test coverage detected