blob: 3f036665a472db25ab73a81deb34c25b0600c02d [file] [log] [blame]
package recorder
import (
"github.com/stretchr/testify/mock"
)
type MockRecorder struct {
mock.Mock
}
// NewMockRecorder returns a pointer to a newly created struct. We return the
// pointer to the struct instead of the Recorder interface because we want to
// make sure the methods on mock.Mock stay accessible, e.g. m.On()
func NewMockRecorder() *MockRecorder {
return &MockRecorder{}
}
func (m *MockRecorder) NewlyDownBots(bots []string) {
m.Called(bots)
}
func (m *MockRecorder) NewlyFixedBots(bots []string) {
m.Called(bots)
}
func (m *MockRecorder) PowercycledBots(user string, bots []string) {
m.Called(user, bots)
}
// Ensure MockRecorder fulfills Recorder
var _ Recorder = (*MockRecorder)(nil)