github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/integrationsystem/automock/uid_service.go (about)

     1  // Code generated by mockery. DO NOT EDIT.
     2  
     3  package automock
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  
     7  // UIDService is an autogenerated mock type for the UIDService type
     8  type UIDService struct {
     9  	mock.Mock
    10  }
    11  
    12  // Generate provides a mock function with given fields:
    13  func (_m *UIDService) Generate() string {
    14  	ret := _m.Called()
    15  
    16  	var r0 string
    17  	if rf, ok := ret.Get(0).(func() string); ok {
    18  		r0 = rf()
    19  	} else {
    20  		r0 = ret.Get(0).(string)
    21  	}
    22  
    23  	return r0
    24  }
    25  
    26  type mockConstructorTestingTNewUIDService interface {
    27  	mock.TestingT
    28  	Cleanup(func())
    29  }
    30  
    31  // NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    32  func NewUIDService(t mockConstructorTestingTNewUIDService) *UIDService {
    33  	mock := &UIDService{}
    34  	mock.Mock.Test(t)
    35  
    36  	t.Cleanup(func() { mock.AssertExpectations(t) })
    37  
    38  	return mock
    39  }