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 ProtocolServiceClient

type ProtocolServiceClient struct {
	mock.Mock
}

ProtocolServiceClient is an autogenerated mock type for the ProtocolServiceClient type

func NewProtocolServiceClient

func NewProtocolServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProtocolServiceClient

NewProtocolServiceClient creates a new instance of ProtocolServiceClient. 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 (*ProtocolServiceClient) BroadcastTransaction

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

func (*ProtocolServiceClient) ConstructTransaction

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

func (*ProtocolServiceClient) ConstructTransferTransaction

func (_m *ProtocolServiceClient) ConstructTransferTransaction(ctx context.Context, in *v1.ConstructTransferTransactionRequest, opts ...grpc.CallOption) (*typesv1.Transaction, error)

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

func (*ProtocolServiceClient) EstimateFee

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

type ProtocolServiceServer

type ProtocolServiceServer struct {
	mock.Mock
}

ProtocolServiceServer is an autogenerated mock type for the ProtocolServiceServer type

func NewProtocolServiceServer

func NewProtocolServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProtocolServiceServer

NewProtocolServiceServer creates a new instance of ProtocolServiceServer. 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 (*ProtocolServiceServer) BroadcastTransaction

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

func (*ProtocolServiceServer) ConstructTransaction

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

func (*ProtocolServiceServer) ConstructTransferTransaction

func (_m *ProtocolServiceServer) ConstructTransferTransaction(_a0 context.Context, _a1 *v1.ConstructTransferTransactionRequest) (*typesv1.Transaction, error)

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

func (*ProtocolServiceServer) EstimateFee

EstimateFee 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