blob: 2a8ad732ae3a913ec20220d6d6da4c694da93d4f [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"
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)
if len(ret) == 0 {
panic("no return value specified for SearchForFiles")
}
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 testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewFileSearcher(t interface {
mock.TestingT
Cleanup(func())
}) *FileSearcher {
mock := &FileSearcher{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}