// Code generated by "./generator ./system/org.lingmo.greeter1"; DO NOT EDIT.

// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later
package greeter1

import (
	"fmt"

	"github.com/godbus/dbus/v5"
	"github.com/LingmoOS/golang-github-lingmo-go-lib/dbusutil/proxy"
	"github.com/stretchr/testify/mock"
)

type MockGreeter struct {
	MockInterfaceGreeter // interface org.lingmo.Greeter1
	proxy.MockObject
}

type MockInterfaceGreeter struct {
	mock.Mock
}

// method UpdateGreeterQtTheme

func (v *MockInterfaceGreeter) GoUpdateGreeterQtTheme(flags dbus.Flags, ch chan *dbus.Call, fd dbus.UnixFD) *dbus.Call {
	mockArgs := v.Called(flags, ch, fd)

	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 *MockInterfaceGreeter) UpdateGreeterQtTheme(flags dbus.Flags, fd dbus.UnixFD) error {
	mockArgs := v.Called(flags, fd)

	return mockArgs.Error(0)
}
