// Code generated by "./generator ./com.deepin.api.cursorhelper"; DO NOT EDIT.

package cursorhelper

import (
	"fmt"

	"github.com/godbus/dbus"
	"github.com/stretchr/testify/mock"
	"github.com/linuxdeepin/go-lib/dbusutil/proxy"
)

type MockCursorHelper struct {
	MockInterfaceCursorHelper // interface com.deepin.api.CursorHelper
	proxy.MockObject
}

type MockInterfaceCursorHelper struct {
	mock.Mock
}

// method Set

func (v *MockInterfaceCursorHelper) GoSet(flags dbus.Flags, ch chan *dbus.Call, name string) *dbus.Call {
	mockArgs := v.Called(flags, ch, name)

	ret, ok := mockArgs.Get(0).(*dbus.Call)
	if !ok {
		panic(fmt.Sprintf("assert: arguments: 0 failed because object wasn't correct type: %v", mockArgs.Get(0)))
	}

	return ret
}

func (v *MockInterfaceCursorHelper) Set(flags dbus.Flags, name string) error {
	mockArgs := v.Called(flags, name)

	return mockArgs.Error(0)
}
