// Code generated by mockery. DO NOT EDIT. package mocks import ( testing "testing" mock "github.com/stretchr/testify/mock" time "time" ) // Source is an autogenerated mock type for the Source type type Source struct { mock.Mock } // Now provides a mock function with given fields: func (_m *Source) Now() time.Time { ret := _m.Called() var r0 time.Time if rf, ok := ret.Get(0).(func() time.Time); ok { r0 = rf() } else { r0 = ret.Get(0).(time.Time) } return r0 } // NewSource creates a new instance of Source. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations. func NewSource(t testing.TB) *Source { mock := &Source{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock }