// Code generated by mockery v0.0.0-dev. DO NOT EDIT.

package repository

import (
	context "context"

	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql"

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

// mockPostgresqlServersClient is an autogenerated mock type for the postgresqlServersClient type
type mockPostgresqlServersClient struct {
	mock.Mock
}

// List provides a mock function with given fields: _a0, _a1
func (_m *mockPostgresqlServersClient) List(_a0 context.Context, _a1 *armpostgresql.ServersListOptions) (armpostgresql.ServersListResponse, error) {
	ret := _m.Called(_a0, _a1)

	var r0 armpostgresql.ServersListResponse
	if rf, ok := ret.Get(0).(func(context.Context, *armpostgresql.ServersListOptions) armpostgresql.ServersListResponse); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Get(0).(armpostgresql.ServersListResponse)
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, *armpostgresql.ServersListOptions) error); ok {
		r1 = rf(_a0, _a1)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
