func (_m *ReputationKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, file string) error {
	ret := _m.Called(ctx, cdc, file)
	var r0 error
	if rf, ok := ret.Get(0).(func(types.Context, *amino.Codec, string) error); ok {
		r0 = rf(ctx, cdc, file)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
ExportToFile provides a mock function with given fields: ctx, cdc, file
package mocks
import (
	linotypes "github.com/lino-network/lino/types"
	amino "github.com/tendermint/go-amino"
	mock "github.com/stretchr/testify/mock"
	types "github.com/cosmos/cosmos-sdk/types"
)
type ReputationKeeper struct {
	mock.Mock
}
func (_m *ReputationKeeper) DonateAt(ctx types.Context, username linotypes.AccountKey, post linotypes.Permlink, amount linotypes.MiniDollar) (linotypes.MiniDollar, types.Error) {
	ret := _m.Called(ctx, username, post, amount)
	var r0 linotypes.MiniDollar
	if rf, ok := ret.Get(0).(func(types.Context, linotypes.AccountKey, linotypes.Permlink, linotypes.MiniDollar) linotypes.MiniDollar); ok {
		r0 = rf(ctx, username, post, amount)
	} else {
		r0 = ret.Get(0).(linotypes.MiniDollar)
	}
	var r1 types.Error
	if rf, ok := ret.Get(1).(func(types.Context, linotypes.AccountKey, linotypes.Permlink, linotypes.MiniDollar) types.Error); ok {
		r1 = rf(ctx, username, post, amount)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(types.Error)
		}
	}
	return r0, r1
}