Newer
Older
// Code generated by mockery v2.11.0. DO NOT EDIT.
package mocks
import (
mock "github.com/stretchr/testify/mock"
testing "testing"
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
}
// NewStorable creates a new instance of Storable. It also registers a cleanup function to assert the mocks expectations.
func NewStorable(t testing.TB) *Storable {
mock := &Storable{}
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}