2015-04-01 16:34:32 +00:00
|
|
|
package plugins
|
|
|
|
|
|
|
|
import "github.com/stretchr/testify/mock"
|
|
|
|
|
|
|
|
type MockPlugin struct {
|
|
|
|
mock.Mock
|
|
|
|
}
|
|
|
|
|
2015-04-06 16:32:10 +00:00
|
|
|
func (m *MockPlugin) Gather(_a0 Accumulator) error {
|
|
|
|
ret := m.Called(_a0)
|
2015-04-01 16:34:32 +00:00
|
|
|
|
2015-04-06 16:32:10 +00:00
|
|
|
r0 := ret.Error(0)
|
2015-04-01 16:34:32 +00:00
|
|
|
|
2015-04-06 16:32:10 +00:00
|
|
|
return r0
|
2015-04-01 16:34:32 +00:00
|
|
|
}
|