func (_m *VoteKeeper) ClaimInterest(ctx types.Context, username linotypes.AccountKey) types.Error {
	ret := _m.Called(ctx, username)
	var r0 types.Error
	if rf, ok := ret.Get(0).(func(types.Context, linotypes.AccountKey) types.Error); ok {
		r0 = rf(ctx, username)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(types.Error)
		}
	}
	return r0
}
ClaimInterest provides a mock function with given fields: ctx, username
package mocks
import (
	linotypes "github.com/lino-network/lino/types"
	amino "github.com/tendermint/go-amino"
	mock "github.com/stretchr/testify/mock"
	model "github.com/lino-network/lino/x/vote/model"
	types "github.com/cosmos/cosmos-sdk/types"
	votetypes "github.com/lino-network/lino/x/vote/types"
)
type VoteKeeper struct {
	mock.Mock
}
func (_m *VoteKeeper) AssignDuty(ctx types.Context, username linotypes.AccountKey, duty votetypes.VoterDuty, frozenAmount linotypes.Coin) types.Error {
	ret := _m.Called(ctx, username, duty, frozenAmount)
	var r0 types.Error
	if rf, ok := ret.Get(0).(func(types.Context, linotypes.AccountKey, votetypes.VoterDuty, linotypes.Coin) types.Error); ok {
		r0 = rf(ctx, username, duty, frozenAmount)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(types.Error)
		}
	}
	return r0
}