Client.go

 1// Code generated by mockery v1.0.0. DO NOT EDIT.
 2
 3package mocks
 4
 5import (
 6	context "context"
 7
 8	githubv4 "github.com/shurcooL/githubv4"
 9
10	mock "github.com/stretchr/testify/mock"
11)
12
13// Client is an autogenerated mock type for the Client type
14type Client struct {
15	mock.Mock
16}
17
18// Mutate provides a mock function with given fields: _a0, _a1, _a2, _a3
19func (_m *Client) Mutate(_a0 context.Context, _a1 interface{}, _a2 githubv4.Input, _a3 map[string]interface{}) error {
20	ret := _m.Called(_a0, _a1, _a2, _a3)
21
22	var r0 error
23	if rf, ok := ret.Get(0).(func(context.Context, interface{}, githubv4.Input, map[string]interface{}) error); ok {
24		r0 = rf(_a0, _a1, _a2, _a3)
25	} else {
26		r0 = ret.Error(0)
27	}
28
29	return r0
30}
31
32// Query provides a mock function with given fields: _a0, _a1, _a2
33func (_m *Client) Query(_a0 context.Context, _a1 interface{}, _a2 map[string]interface{}) error {
34	ret := _m.Called(_a0, _a1, _a2)
35
36	var r0 error
37	if rf, ok := ret.Get(0).(func(context.Context, interface{}, map[string]interface{}) error); ok {
38		r0 = rf(_a0, _a1, _a2)
39	} else {
40		r0 = ret.Error(0)
41	}
42
43	return r0
44}