Documentation ¶
Overview ¶
Package typed_inorder is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockAnimal ¶
type MockAnimal struct {
// contains filtered or unexported fields
}
MockAnimal is a mock of Animal interface.
func NewMockAnimal ¶
func NewMockAnimal(ctrl *gomock.Controller) *MockAnimal
NewMockAnimal creates a new mock instance.
func (*MockAnimal) EXPECT ¶
func (m *MockAnimal) EXPECT() *MockAnimalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAnimalFeedCall ¶
MockAnimalFeedCall wrap *gomock.Call
func (*MockAnimalFeedCall) Do ¶
func (c *MockAnimalFeedCall) Do(f func(string) error) *MockAnimalFeedCall
Do rewrite *gomock.Call.Do
func (*MockAnimalFeedCall) DoAndReturn ¶
func (c *MockAnimalFeedCall) DoAndReturn(f func(string) error) *MockAnimalFeedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAnimalFeedCall) Return ¶
func (c *MockAnimalFeedCall) Return(arg0 error) *MockAnimalFeedCall
Return rewrite *gomock.Call.Return
type MockAnimalGetSoundCall ¶
MockAnimalGetSoundCall wrap *gomock.Call
func (*MockAnimalGetSoundCall) Do ¶
func (c *MockAnimalGetSoundCall) Do(f func() string) *MockAnimalGetSoundCall
Do rewrite *gomock.Call.Do
func (*MockAnimalGetSoundCall) DoAndReturn ¶
func (c *MockAnimalGetSoundCall) DoAndReturn(f func() string) *MockAnimalGetSoundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAnimalGetSoundCall) Return ¶
func (c *MockAnimalGetSoundCall) Return(arg0 string) *MockAnimalGetSoundCall
Return rewrite *gomock.Call.Return
type MockAnimalMockRecorder ¶
type MockAnimalMockRecorder struct {
// contains filtered or unexported fields
}
MockAnimalMockRecorder is the mock recorder for MockAnimal.
func (*MockAnimalMockRecorder) Feed ¶
func (mr *MockAnimalMockRecorder) Feed(arg0 any) *MockAnimalFeedCall
Feed indicates an expected call of Feed.
func (*MockAnimalMockRecorder) GetSound ¶
func (mr *MockAnimalMockRecorder) GetSound() *MockAnimalGetSoundCall
GetSound indicates an expected call of GetSound.