// Code generated by MockGen. DO NOT EDIT. // Source: edge-infra.dev/pkg/sds/lib/dbus/systemd (interfaces: Disabler) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockDisabler is a mock of Disabler interface. type MockDisabler struct { ctrl *gomock.Controller recorder *MockDisablerMockRecorder } // MockDisablerMockRecorder is the mock recorder for MockDisabler. type MockDisablerMockRecorder struct { mock *MockDisabler } // NewMockDisabler creates a new mock instance. func NewMockDisabler(ctrl *gomock.Controller) *MockDisabler { mock := &MockDisabler{ctrl: ctrl} mock.recorder = &MockDisablerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockDisabler) EXPECT() *MockDisablerMockRecorder { return m.recorder } // Disable mocks base method. func (m *MockDisabler) Disable(arg0 context.Context, arg1 []string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Disable", arg0, arg1) ret0, _ := ret[0].(error) return ret0 } // Disable indicates an expected call of Disable. func (mr *MockDisablerMockRecorder) Disable(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Disable", reflect.TypeOf((*MockDisabler)(nil).Disable), arg0, arg1) }