Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockItemsResponse
- type MockItemsResponseMockRecorder
- type MockMetaGetter
- type MockMetaGetterMockRecorder
- type MockMonstersResponse
- type MockMonstersResponseMockRecorder
- type MockPrayersResponse
- type MockPrayersResponseMockRecorder
- type MockRequestExecutor
- func (m *MockRequestExecutor) EXPECT() *MockRequestExecutorMockRecorder
- func (m *MockRequestExecutor) ExecuteItemsRequest(arg0 context.Context, arg1 common.Params) (common.ItemsResponse, error)
- func (m *MockRequestExecutor) ExecuteMonstersRequest(arg0 context.Context, arg1 common.Params) (common.MonstersResponse, error)
- func (m *MockRequestExecutor) ExecutePrayersRequest(arg0 context.Context, arg1 common.Params) (common.PrayersResponse, error)
- type MockRequestExecutorMockRecorder
- func (mr *MockRequestExecutorMockRecorder) ExecuteItemsRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRequestExecutorMockRecorder) ExecuteMonstersRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRequestExecutorMockRecorder) ExecutePrayersRequest(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockItemsResponse ¶
type MockItemsResponse struct {
// contains filtered or unexported fields
}
MockItemsResponse is a mock of ItemsResponse interface.
func NewMockItemsResponse ¶
func NewMockItemsResponse(ctrl *gomock.Controller) *MockItemsResponse
NewMockItemsResponse creates a new mock instance.
func (*MockItemsResponse) EXPECT ¶
func (m *MockItemsResponse) EXPECT() *MockItemsResponseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockItemsResponse) GetItems ¶
func (m *MockItemsResponse) GetItems() []models.Item
GetItems mocks base method.
func (*MockItemsResponse) GetMaxResults ¶
func (m *MockItemsResponse) GetMaxResults() int
GetMaxResults mocks base method.
func (*MockItemsResponse) GetTotal ¶
func (m *MockItemsResponse) GetTotal() int
GetTotal mocks base method.
type MockItemsResponseMockRecorder ¶
type MockItemsResponseMockRecorder struct {
// contains filtered or unexported fields
}
MockItemsResponseMockRecorder is the mock recorder for MockItemsResponse.
func (*MockItemsResponseMockRecorder) GetItems ¶
func (mr *MockItemsResponseMockRecorder) GetItems() *gomock.Call
GetItems indicates an expected call of GetItems.
func (*MockItemsResponseMockRecorder) GetMaxResults ¶
func (mr *MockItemsResponseMockRecorder) GetMaxResults() *gomock.Call
GetMaxResults indicates an expected call of GetMaxResults.
func (*MockItemsResponseMockRecorder) GetTotal ¶
func (mr *MockItemsResponseMockRecorder) GetTotal() *gomock.Call
GetTotal indicates an expected call of GetTotal.
type MockMetaGetter ¶
type MockMetaGetter struct {
// contains filtered or unexported fields
}
MockMetaGetter is a mock of MetaGetter interface.
func NewMockMetaGetter ¶
func NewMockMetaGetter(ctrl *gomock.Controller) *MockMetaGetter
NewMockMetaGetter creates a new mock instance.
func (*MockMetaGetter) EXPECT ¶
func (m *MockMetaGetter) EXPECT() *MockMetaGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetaGetter) GetMaxResults ¶
func (m *MockMetaGetter) GetMaxResults() int
GetMaxResults mocks base method.
func (*MockMetaGetter) GetTotal ¶
func (m *MockMetaGetter) GetTotal() int
GetTotal mocks base method.
type MockMetaGetterMockRecorder ¶
type MockMetaGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaGetterMockRecorder is the mock recorder for MockMetaGetter.
func (*MockMetaGetterMockRecorder) GetMaxResults ¶
func (mr *MockMetaGetterMockRecorder) GetMaxResults() *gomock.Call
GetMaxResults indicates an expected call of GetMaxResults.
func (*MockMetaGetterMockRecorder) GetTotal ¶
func (mr *MockMetaGetterMockRecorder) GetTotal() *gomock.Call
GetTotal indicates an expected call of GetTotal.
type MockMonstersResponse ¶
type MockMonstersResponse struct {
// contains filtered or unexported fields
}
MockMonstersResponse is a mock of MonstersResponse interface.
func NewMockMonstersResponse ¶
func NewMockMonstersResponse(ctrl *gomock.Controller) *MockMonstersResponse
NewMockMonstersResponse creates a new mock instance.
func (*MockMonstersResponse) EXPECT ¶
func (m *MockMonstersResponse) EXPECT() *MockMonstersResponseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMonstersResponse) GetMaxResults ¶
func (m *MockMonstersResponse) GetMaxResults() int
GetMaxResults mocks base method.
func (*MockMonstersResponse) GetMonsters ¶
func (m *MockMonstersResponse) GetMonsters() []models.Monster
GetMonsters mocks base method.
func (*MockMonstersResponse) GetTotal ¶
func (m *MockMonstersResponse) GetTotal() int
GetTotal mocks base method.
type MockMonstersResponseMockRecorder ¶
type MockMonstersResponseMockRecorder struct {
// contains filtered or unexported fields
}
MockMonstersResponseMockRecorder is the mock recorder for MockMonstersResponse.
func (*MockMonstersResponseMockRecorder) GetMaxResults ¶
func (mr *MockMonstersResponseMockRecorder) GetMaxResults() *gomock.Call
GetMaxResults indicates an expected call of GetMaxResults.
func (*MockMonstersResponseMockRecorder) GetMonsters ¶
func (mr *MockMonstersResponseMockRecorder) GetMonsters() *gomock.Call
GetMonsters indicates an expected call of GetMonsters.
func (*MockMonstersResponseMockRecorder) GetTotal ¶
func (mr *MockMonstersResponseMockRecorder) GetTotal() *gomock.Call
GetTotal indicates an expected call of GetTotal.
type MockPrayersResponse ¶
type MockPrayersResponse struct {
// contains filtered or unexported fields
}
MockPrayersResponse is a mock of PrayersResponse interface.
func NewMockPrayersResponse ¶
func NewMockPrayersResponse(ctrl *gomock.Controller) *MockPrayersResponse
NewMockPrayersResponse creates a new mock instance.
func (*MockPrayersResponse) EXPECT ¶
func (m *MockPrayersResponse) EXPECT() *MockPrayersResponseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrayersResponse) GetMaxResults ¶
func (m *MockPrayersResponse) GetMaxResults() int
GetMaxResults mocks base method.
func (*MockPrayersResponse) GetPrayers ¶
func (m *MockPrayersResponse) GetPrayers() []models.Prayer
GetPrayers mocks base method.
func (*MockPrayersResponse) GetTotal ¶
func (m *MockPrayersResponse) GetTotal() int
GetTotal mocks base method.
type MockPrayersResponseMockRecorder ¶
type MockPrayersResponseMockRecorder struct {
// contains filtered or unexported fields
}
MockPrayersResponseMockRecorder is the mock recorder for MockPrayersResponse.
func (*MockPrayersResponseMockRecorder) GetMaxResults ¶
func (mr *MockPrayersResponseMockRecorder) GetMaxResults() *gomock.Call
GetMaxResults indicates an expected call of GetMaxResults.
func (*MockPrayersResponseMockRecorder) GetPrayers ¶
func (mr *MockPrayersResponseMockRecorder) GetPrayers() *gomock.Call
GetPrayers indicates an expected call of GetPrayers.
func (*MockPrayersResponseMockRecorder) GetTotal ¶
func (mr *MockPrayersResponseMockRecorder) GetTotal() *gomock.Call
GetTotal indicates an expected call of GetTotal.
type MockRequestExecutor ¶
type MockRequestExecutor struct {
// contains filtered or unexported fields
}
MockRequestExecutor is a mock of RequestExecutor interface.
func NewMockRequestExecutor ¶
func NewMockRequestExecutor(ctrl *gomock.Controller) *MockRequestExecutor
NewMockRequestExecutor creates a new mock instance.
func (*MockRequestExecutor) EXPECT ¶
func (m *MockRequestExecutor) EXPECT() *MockRequestExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestExecutor) ExecuteItemsRequest ¶
func (m *MockRequestExecutor) ExecuteItemsRequest(arg0 context.Context, arg1 common.Params) (common.ItemsResponse, error)
ExecuteItemsRequest mocks base method.
func (*MockRequestExecutor) ExecuteMonstersRequest ¶
func (m *MockRequestExecutor) ExecuteMonstersRequest(arg0 context.Context, arg1 common.Params) (common.MonstersResponse, error)
ExecuteMonstersRequest mocks base method.
func (*MockRequestExecutor) ExecutePrayersRequest ¶
func (m *MockRequestExecutor) ExecutePrayersRequest(arg0 context.Context, arg1 common.Params) (common.PrayersResponse, error)
ExecutePrayersRequest mocks base method.
type MockRequestExecutorMockRecorder ¶
type MockRequestExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestExecutorMockRecorder is the mock recorder for MockRequestExecutor.
func (*MockRequestExecutorMockRecorder) ExecuteItemsRequest ¶
func (mr *MockRequestExecutorMockRecorder) ExecuteItemsRequest(arg0, arg1 interface{}) *gomock.Call
ExecuteItemsRequest indicates an expected call of ExecuteItemsRequest.
func (*MockRequestExecutorMockRecorder) ExecuteMonstersRequest ¶
func (mr *MockRequestExecutorMockRecorder) ExecuteMonstersRequest(arg0, arg1 interface{}) *gomock.Call
ExecuteMonstersRequest indicates an expected call of ExecuteMonstersRequest.
func (*MockRequestExecutorMockRecorder) ExecutePrayersRequest ¶
func (mr *MockRequestExecutorMockRecorder) ExecutePrayersRequest(arg0, arg1 interface{}) *gomock.Call
ExecutePrayersRequest indicates an expected call of ExecutePrayersRequest.