Documentation ¶
Index ¶
- type MockWapcClient
- type MockWapcClient_Expecter
- type MockWapcClient_HostCall_Call
- func (_c *MockWapcClient_HostCall_Call) Return(response []byte, err error) *MockWapcClient_HostCall_Call
- func (_c *MockWapcClient_HostCall_Call) Run(run func(binding string, namespace string, operation string, payload []byte)) *MockWapcClient_HostCall_Call
- func (_c *MockWapcClient_HostCall_Call) RunAndReturn(run func(string, string, string, []byte) ([]byte, error)) *MockWapcClient_HostCall_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWapcClient ¶
MockWapcClient is an autogenerated mock type for the WapcClient type
func NewMockWapcClient ¶
func NewMockWapcClient(t interface { mock.TestingT Cleanup(func()) }) *MockWapcClient
NewMockWapcClient creates a new instance of MockWapcClient. 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 (*MockWapcClient) EXPECT ¶
func (_m *MockWapcClient) EXPECT() *MockWapcClient_Expecter
type MockWapcClient_Expecter ¶
type MockWapcClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWapcClient_Expecter) HostCall ¶
func (_e *MockWapcClient_Expecter) HostCall(binding interface{}, namespace interface{}, operation interface{}, payload interface{}) *MockWapcClient_HostCall_Call
HostCall is a helper method to define mock.On call
- binding string
- namespace string
- operation string
- payload []byte
type MockWapcClient_HostCall_Call ¶
MockWapcClient_HostCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HostCall'
func (*MockWapcClient_HostCall_Call) Return ¶
func (_c *MockWapcClient_HostCall_Call) Return(response []byte, err error) *MockWapcClient_HostCall_Call
func (*MockWapcClient_HostCall_Call) Run ¶
func (_c *MockWapcClient_HostCall_Call) Run(run func(binding string, namespace string, operation string, payload []byte)) *MockWapcClient_HostCall_Call
func (*MockWapcClient_HostCall_Call) RunAndReturn ¶
func (_c *MockWapcClient_HostCall_Call) RunAndReturn(run func(string, string, string, []byte) ([]byte, error)) *MockWapcClient_HostCall_Call
Click to show internal directories.
Click to hide internal directories.