2023-01-18 18:33:21 +00:00
// Code generated by mockery v2.15.0. DO NOT EDIT.
2022-04-19 17:03:03 +00:00
package autopilotevents
import (
2023-01-18 18:33:21 +00:00
time "time"
2022-04-19 17:03:03 +00:00
mock "github.com/stretchr/testify/mock"
)
// mockTimeProvider is an autogenerated mock type for the timeProvider type
type mockTimeProvider struct {
mock . Mock
}
// Now provides a mock function with given fields:
func ( _m * mockTimeProvider ) 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
}
2022-04-21 14:48:21 +00:00
2023-01-18 18:33:21 +00:00
type mockConstructorTestingTnewMockTimeProvider interface {
mock . TestingT
Cleanup ( func ( ) )
}
// newMockTimeProvider creates a new instance of mockTimeProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func newMockTimeProvider ( t mockConstructorTestingTnewMockTimeProvider ) * mockTimeProvider {
2022-04-21 14:48:21 +00:00
mock := & mockTimeProvider { }
2022-07-05 21:57:15 +00:00
mock . Mock . Test ( t )
2022-04-21 14:48:21 +00:00
t . Cleanup ( func ( ) { mock . AssertExpectations ( t ) } )
return mock
}