29 lines
685 B
Go
29 lines
685 B
Go
// Code generated by mockery v2.3.0. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
context "context"
|
|
|
|
mock "github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
// GithubGraphQLClient is an autogenerated mock type for the GithubGraphQLClient type
|
|
type GithubGraphQLClient struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// Query provides a mock function with given fields: ctx, q, variables
|
|
func (_m *GithubGraphQLClient) Query(ctx context.Context, q interface{}, variables map[string]interface{}) error {
|
|
ret := _m.Called(ctx, q, variables)
|
|
|
|
var r0 error
|
|
if rf, ok := ret.Get(0).(func(context.Context, interface{}, map[string]interface{}) error); ok {
|
|
r0 = rf(ctx, q, variables)
|
|
} else {
|
|
r0 = ret.Error(0)
|
|
}
|
|
|
|
return r0
|
|
}
|