// Automatically generated by MockGen. DO NOT EDIT!
// Source: utils.go

package ephemeraldiskutils

import (
	gomock "github.com/golang/mock/gomock"

	safepath "kubevirt.io/kubevirt/pkg/safepath"
)

// Mock of OwnershipManagerInterface interface
type MockOwnershipManagerInterface struct {
	ctrl     *gomock.Controller
	recorder *_MockOwnershipManagerInterfaceRecorder
}

// Recorder for MockOwnershipManagerInterface (not exported)
type _MockOwnershipManagerInterfaceRecorder struct {
	mock *MockOwnershipManagerInterface
}

func NewMockOwnershipManagerInterface(ctrl *gomock.Controller) *MockOwnershipManagerInterface {
	mock := &MockOwnershipManagerInterface{ctrl: ctrl}
	mock.recorder = &_MockOwnershipManagerInterfaceRecorder{mock}
	return mock
}

func (_m *MockOwnershipManagerInterface) EXPECT() *_MockOwnershipManagerInterfaceRecorder {
	return _m.recorder
}

func (_m *MockOwnershipManagerInterface) UnsafeSetFileOwnership(file string) error {
	ret := _m.ctrl.Call(_m, "UnsafeSetFileOwnership", file)
	ret0, _ := ret[0].(error)
	return ret0
}

func (_mr *_MockOwnershipManagerInterfaceRecorder) UnsafeSetFileOwnership(arg0 interface{}) *gomock.Call {
	return _mr.mock.ctrl.RecordCall(_mr.mock, "UnsafeSetFileOwnership", arg0)
}

func (_m *MockOwnershipManagerInterface) SetFileOwnership(file *safepath.Path) error {
	ret := _m.ctrl.Call(_m, "SetFileOwnership", file)
	ret0, _ := ret[0].(error)
	return ret0
}

func (_mr *_MockOwnershipManagerInterfaceRecorder) SetFileOwnership(arg0 interface{}) *gomock.Call {
	return _mr.mock.ctrl.RecordCall(_mr.mock, "SetFileOwnership", arg0)
}
