2022-07-05 21:57:15 +00:00
// Code generated by mockery v2.12.2. DO NOT EDIT.
2022-04-19 17:03:03 +00:00
package autopilotevents
import (
2022-04-21 14:48:21 +00:00
testing "testing"
2022-04-19 17:03:03 +00:00
mock "github.com/stretchr/testify/mock"
2022-04-21 14:48:21 +00:00
time "time"
2022-04-19 17:03:03 +00:00
)
// 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
2022-07-05 21:57:15 +00:00
// newMockTimeProvider creates a new instance of mockTimeProvider. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
2022-04-21 14:48:21 +00:00
func newMockTimeProvider ( t testing . TB ) * mockTimeProvider {
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
}