Documentation ¶
Overview ¶
Package singleton is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockISingleton ¶
type MockISingleton struct {
// contains filtered or unexported fields
}
MockISingleton is a mock of ISingleton interface.
func NewMockISingleton ¶
func NewMockISingleton(ctrl *gomock.Controller) *MockISingleton
NewMockISingleton creates a new mock instance.
func (*MockISingleton) EXPECT ¶
func (m *MockISingleton) EXPECT() *MockISingletonMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockISingleton) GetName ¶
func (m *MockISingleton) GetName() string
GetName mocks base method.
func (*MockISingleton) SetName ¶
func (m *MockISingleton) SetName(arg0 string)
SetName mocks base method.
type MockISingletonMockRecorder ¶
type MockISingletonMockRecorder struct {
// contains filtered or unexported fields
}
MockISingletonMockRecorder is the mock recorder for MockISingleton.
func (*MockISingletonMockRecorder) GetName ¶
func (mr *MockISingletonMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockISingletonMockRecorder) SetName ¶
func (mr *MockISingletonMockRecorder) SetName(arg0 interface{}) *gomock.Call
SetName indicates an expected call of SetName.
Click to show internal directories.
Click to hide internal directories.