Documentation ¶
Overview ¶
Package mock_accounts is a generated GoMock package.
Index ¶
- type MockAccountManager
- func (m *MockAccountManager) Backends(arg0 reflect.Type) []accounts.Backend
- func (m *MockAccountManager) EXPECT() *MockAccountManagerMockRecorder
- func (m *MockAccountManager) Find(arg0 accounts.Account) (accounts.Wallet, error)
- func (m *MockAccountManager) Subscribe(arg0 chan<- accounts.WalletEvent) event.Subscription
- func (m *MockAccountManager) Wallet(arg0 string) (accounts.Wallet, error)
- func (m *MockAccountManager) Wallets() []accounts.Wallet
- type MockAccountManagerMockRecorder
- func (mr *MockAccountManagerMockRecorder) Backends(arg0 interface{}) *gomock.Call
- func (mr *MockAccountManagerMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockAccountManagerMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
- func (mr *MockAccountManagerMockRecorder) Wallet(arg0 interface{}) *gomock.Call
- func (mr *MockAccountManagerMockRecorder) Wallets() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountManager ¶
type MockAccountManager struct {
// contains filtered or unexported fields
}
MockAccountManager is a mock of AccountManager interface
func NewMockAccountManager ¶
func NewMockAccountManager(ctrl *gomock.Controller) *MockAccountManager
NewMockAccountManager creates a new mock instance
func (*MockAccountManager) Backends ¶
func (m *MockAccountManager) Backends(arg0 reflect.Type) []accounts.Backend
Backends mocks base method
func (*MockAccountManager) EXPECT ¶
func (m *MockAccountManager) EXPECT() *MockAccountManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAccountManager) Subscribe ¶
func (m *MockAccountManager) Subscribe(arg0 chan<- accounts.WalletEvent) event.Subscription
Subscribe mocks base method
func (*MockAccountManager) Wallet ¶
func (m *MockAccountManager) Wallet(arg0 string) (accounts.Wallet, error)
Wallet mocks base method
func (*MockAccountManager) Wallets ¶
func (m *MockAccountManager) Wallets() []accounts.Wallet
Wallets mocks base method
type MockAccountManagerMockRecorder ¶
type MockAccountManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountManagerMockRecorder is the mock recorder for MockAccountManager
func (*MockAccountManagerMockRecorder) Backends ¶
func (mr *MockAccountManagerMockRecorder) Backends(arg0 interface{}) *gomock.Call
Backends indicates an expected call of Backends
func (*MockAccountManagerMockRecorder) Find ¶
func (mr *MockAccountManagerMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockAccountManagerMockRecorder) Subscribe ¶
func (mr *MockAccountManagerMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe
func (*MockAccountManagerMockRecorder) Wallet ¶
func (mr *MockAccountManagerMockRecorder) Wallet(arg0 interface{}) *gomock.Call
Wallet indicates an expected call of Wallet
func (*MockAccountManagerMockRecorder) Wallets ¶
func (mr *MockAccountManagerMockRecorder) Wallets() *gomock.Call
Wallets indicates an expected call of Wallets