Newer
Older
// Code generated by mockery v2.14.0. DO NOT EDIT.
package mocks
import (
mock "github.com/stretchr/testify/mock"
uuid "github.com/google/uuid"
)
// Storable is an autogenerated mock type for the Storable type
type Storable struct {
mock.Mock
}
func (_m *Storable) ID() uuid.UUID {
ret := _m.Called()
var r0 uuid.UUID
if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(uuid.UUID)
}
}
return r0
}
type mockConstructorTestingTNewStorable interface {
mock.TestingT
Cleanup(func())
}
// NewStorable creates a new instance of Storable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewStorable(t mockConstructorTestingTNewStorable) *Storable {
mock := &Storable{}
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}