driftctl/mocks/GithubGraphQLClient.go

29 lines
685 B
Go
Raw Normal View History

2021-02-15 13:24:20 +00:00
// 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
}