// Code generated by mockery v2.40.3. DO NOT EDIT.

package providertesting

import (
	context "context"

	mock "github.com/stretchr/testify/mock"
)

// MockQuery is an autogenerated mock type for the Query type
type MockQuery struct {
	mock.Mock
}

// Query provides a mock function with given fields: ctx, modelIdentifier, promptText
func (_m *MockQuery) Query(ctx context.Context, modelIdentifier string, promptText string) (string, error) {
	ret := _m.Called(ctx, modelIdentifier, promptText)

	if len(ret) == 0 {
		panic("no return value specified for Query")
	}

	var r0 string
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, string, string) (string, error)); ok {
		return rf(ctx, modelIdentifier, promptText)
	}
	if rf, ok := ret.Get(0).(func(context.Context, string, string) string); ok {
		r0 = rf(ctx, modelIdentifier, promptText)
	} else {
		r0 = ret.Get(0).(string)
	}

	if rf, ok := ret.Get(1).(func(context.Context, string, string) error); ok {
		r1 = rf(ctx, modelIdentifier, promptText)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// NewMockQuery creates a new instance of MockQuery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMockQuery(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQuery {
	mock := &MockQuery{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
