Select Git revision
server.microgen.go
spaceGetter.go 963 B
// Code generated by mockery v2.50.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// SpaceGetter is an autogenerated mock type for the spaceGetter type
type SpaceGetter struct {
mock.Mock
}
// GetSpaceID provides a mock function with no fields
func (_m *SpaceGetter) GetSpaceID() string {
ret := _m.Called()
if len(ret) == 0 {
panic("no return value specified for GetSpaceID")
}
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// NewSpaceGetter creates a new instance of SpaceGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewSpaceGetter(t interface {
mock.TestingT
Cleanup(func())
}) *SpaceGetter {
mock := &SpaceGetter{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}