//                           _       _
// __      _____  __ ___   ___  __ _| |_ ___
// \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \
//  \ V  V /  __/ (_| |\ V /| | (_| | ||  __/
//   \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
//  Copyright © 2016 - 2026 Weaviate B.V. All rights reserved.
//
//  CONTACT: hello@weaviate.io
//

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

package backup

import (
	context "context"

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

// MockSelector is an autogenerated mock type for the Selector type
type MockSelector struct {
	mock.Mock
}

type MockSelector_Expecter struct {
	mock *mock.Mock
}

func (_m *MockSelector) EXPECT() *MockSelector_Expecter {
	return &MockSelector_Expecter{mock: &_m.Mock}
}

// Backupable provides a mock function with given fields: _a0, classes
func (_m *MockSelector) Backupable(_a0 context.Context, classes []string) error {
	ret := _m.Called(_a0, classes)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, []string) error); ok {
		r0 = rf(_a0, classes)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// MockSelector_Backupable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Backupable'
type MockSelector_Backupable_Call struct {
	*mock.Call
}

// Backupable is a helper method to define mock.On call
//   - _a0 context.Context
//   - classes []string
func (_e *MockSelector_Expecter) Backupable(_a0 interface{}, classes interface{}) *MockSelector_Backupable_Call {
	return &MockSelector_Backupable_Call{Call: _e.mock.On("Backupable", _a0, classes)}
}

func (_c *MockSelector_Backupable_Call) Run(run func(_a0 context.Context, classes []string)) *MockSelector_Backupable_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].([]string))
	})
	return _c
}

func (_c *MockSelector_Backupable_Call) Return(_a0 error) *MockSelector_Backupable_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockSelector_Backupable_Call) RunAndReturn(run func(context.Context, []string) error) *MockSelector_Backupable_Call {
	_c.Call.Return(run)
	return _c
}

// ListClasses provides a mock function with given fields: ctx
func (_m *MockSelector) ListClasses(ctx context.Context) []string {
	ret := _m.Called(ctx)

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

	var r0 []string
	if rf, ok := ret.Get(0).(func(context.Context) []string); ok {
		r0 = rf(ctx)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]string)
		}
	}

	return r0
}

// MockSelector_ListClasses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClasses'
type MockSelector_ListClasses_Call struct {
	*mock.Call
}

// ListClasses is a helper method to define mock.On call
//   - ctx context.Context
func (_e *MockSelector_Expecter) ListClasses(ctx interface{}) *MockSelector_ListClasses_Call {
	return &MockSelector_ListClasses_Call{Call: _e.mock.On("ListClasses", ctx)}
}

func (_c *MockSelector_ListClasses_Call) Run(run func(ctx context.Context)) *MockSelector_ListClasses_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context))
	})
	return _c
}

func (_c *MockSelector_ListClasses_Call) Return(_a0 []string) *MockSelector_ListClasses_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockSelector_ListClasses_Call) RunAndReturn(run func(context.Context) []string) *MockSelector_ListClasses_Call {
	_c.Call.Return(run)
	return _c
}

// Shards provides a mock function with given fields: ctx, class
func (_m *MockSelector) Shards(ctx context.Context, class string) ([]string, error) {
	ret := _m.Called(ctx, class)

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

	var r0 []string
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, string) ([]string, error)); ok {
		return rf(ctx, class)
	}
	if rf, ok := ret.Get(0).(func(context.Context, string) []string); ok {
		r0 = rf(ctx, class)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]string)
		}
	}

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

	return r0, r1
}

// MockSelector_Shards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shards'
type MockSelector_Shards_Call struct {
	*mock.Call
}

// Shards is a helper method to define mock.On call
//   - ctx context.Context
//   - class string
func (_e *MockSelector_Expecter) Shards(ctx interface{}, class interface{}) *MockSelector_Shards_Call {
	return &MockSelector_Shards_Call{Call: _e.mock.On("Shards", ctx, class)}
}

func (_c *MockSelector_Shards_Call) Run(run func(ctx context.Context, class string)) *MockSelector_Shards_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(context.Context), args[1].(string))
	})
	return _c
}

func (_c *MockSelector_Shards_Call) Return(_a0 []string, _a1 error) *MockSelector_Shards_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *MockSelector_Shards_Call) RunAndReturn(run func(context.Context, string) ([]string, error)) *MockSelector_Shards_Call {
	_c.Call.Return(run)
	return _c
}

// NewMockSelector creates a new instance of MockSelector. 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 NewMockSelector(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSelector {
	mock := &MockSelector{}
	mock.Mock.Test(t)

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

	return mock
}
