Documentation ¶
Index ¶
- type MockUniqueGenerator
- type MockUniqueGenerator_Expecter
- type MockUniqueGenerator_Generate_Call
- func (_c *MockUniqueGenerator_Generate_Call) Return(_a0 string, _a1 error) *MockUniqueGenerator_Generate_Call
- func (_c *MockUniqueGenerator_Generate_Call) Run(run func(ap *sync_to_target.AccessProvider)) *MockUniqueGenerator_Generate_Call
- func (_c *MockUniqueGenerator_Generate_Call) RunAndReturn(run func(*sync_to_target.AccessProvider) (string, error)) *MockUniqueGenerator_Generate_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUniqueGenerator ¶
MockUniqueGenerator is an autogenerated mock type for the UniqueGenerator type
func NewMockUniqueGenerator ¶
func NewMockUniqueGenerator(t interface { mock.TestingT Cleanup(func()) }) *MockUniqueGenerator
NewMockUniqueGenerator creates a new instance of MockUniqueGenerator. 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 (*MockUniqueGenerator) EXPECT ¶
func (_m *MockUniqueGenerator) EXPECT() *MockUniqueGenerator_Expecter
func (*MockUniqueGenerator) Generate ¶
func (_m *MockUniqueGenerator) Generate(ap *sync_to_target.AccessProvider) (string, error)
Generate provides a mock function with given fields: ap
type MockUniqueGenerator_Expecter ¶
type MockUniqueGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUniqueGenerator_Expecter) Generate ¶
func (_e *MockUniqueGenerator_Expecter) Generate(ap interface{}) *MockUniqueGenerator_Generate_Call
Generate is a helper method to define mock.On call
- ap *sync_to_target.AccessProvider
type MockUniqueGenerator_Generate_Call ¶
MockUniqueGenerator_Generate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Generate'
func (*MockUniqueGenerator_Generate_Call) Return ¶
func (_c *MockUniqueGenerator_Generate_Call) Return(_a0 string, _a1 error) *MockUniqueGenerator_Generate_Call
func (*MockUniqueGenerator_Generate_Call) Run ¶
func (_c *MockUniqueGenerator_Generate_Call) Run(run func(ap *sync_to_target.AccessProvider)) *MockUniqueGenerator_Generate_Call
func (*MockUniqueGenerator_Generate_Call) RunAndReturn ¶
func (_c *MockUniqueGenerator_Generate_Call) RunAndReturn(run func(*sync_to_target.AccessProvider) (string, error)) *MockUniqueGenerator_Generate_Call
Click to show internal directories.
Click to hide internal directories.