mocks

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MPCWalletServiceClient

type MPCWalletServiceClient struct {
	mock.Mock
}

MPCWalletServiceClient is an autogenerated mock type for the MPCWalletServiceClient type

func NewMPCWalletServiceClient

func NewMPCWalletServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCWalletServiceClient

NewMPCWalletServiceClient creates a new instance of MPCWalletServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCWalletServiceClient) CreateMPCWallet

CreateMPCWallet provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) GenerateAddress

func (_m *MPCWalletServiceClient) GenerateAddress(ctx context.Context, in *v1.GenerateAddressRequest, opts ...grpc.CallOption) (*v1.Address, error)

GenerateAddress provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) GetAddress

func (_m *MPCWalletServiceClient) GetAddress(ctx context.Context, in *v1.GetAddressRequest, opts ...grpc.CallOption) (*v1.Address, error)

GetAddress provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) GetMPCWallet

func (_m *MPCWalletServiceClient) GetMPCWallet(ctx context.Context, in *v1.GetMPCWalletRequest, opts ...grpc.CallOption) (*v1.MPCWallet, error)

GetMPCWallet provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) ListAddresses

ListAddresses provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) ListBalanceDetails

ListBalanceDetails provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) ListBalances

ListBalances provides a mock function with given fields: ctx, in, opts

func (*MPCWalletServiceClient) ListMPCWallets

ListMPCWallets provides a mock function with given fields: ctx, in, opts

type MPCWalletServiceServer

type MPCWalletServiceServer struct {
	mock.Mock
}

MPCWalletServiceServer is an autogenerated mock type for the MPCWalletServiceServer type

func NewMPCWalletServiceServer

func NewMPCWalletServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCWalletServiceServer

NewMPCWalletServiceServer creates a new instance of MPCWalletServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCWalletServiceServer) CreateMPCWallet

CreateMPCWallet provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) GenerateAddress

func (_m *MPCWalletServiceServer) GenerateAddress(_a0 context.Context, _a1 *v1.GenerateAddressRequest) (*v1.Address, error)

GenerateAddress provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) GetAddress

func (_m *MPCWalletServiceServer) GetAddress(_a0 context.Context, _a1 *v1.GetAddressRequest) (*v1.Address, error)

GetAddress provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) GetMPCWallet

GetMPCWallet provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) ListAddresses

ListAddresses provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) ListBalanceDetails

ListBalanceDetails provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) ListBalances

ListBalances provides a mock function with given fields: _a0, _a1

func (*MPCWalletServiceServer) ListMPCWallets

ListMPCWallets provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL