blob: 08d484bf386dacd1f7dc9aba43fbe76d2ae5be4e [file] [log] [blame]
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
package mocks
import (
context "context"
mock "github.com/stretchr/testify/mock"
testing "testing"
time "time"
)
// FileSearcher is an autogenerated mock type for the FileSearcher type
type FileSearcher struct {
mock.Mock
}
// SearchForFiles provides a mock function with given fields: ctx, start, end
func (_m *FileSearcher) SearchForFiles(ctx context.Context, start time.Time, end time.Time) []string {
ret := _m.Called(ctx, start, end)
var r0 []string
if rf, ok := ret.Get(0).(func(context.Context, time.Time, time.Time) []string); ok {
r0 = rf(ctx, start, end)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]string)
}
}
return r0
}
// NewFileSearcher creates a new instance of FileSearcher. It also registers a cleanup function to assert the mocks expectations.
func NewFileSearcher(t testing.TB) *FileSearcher {
mock := &FileSearcher{}
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}