Documentation
¶
Index ¶
- type MockFunctionCallAssembler
- type MockFunctionCallAssembler_Assemble_Call
- func (_c *MockFunctionCallAssembler_Assemble_Call) Return(s string, err error) *MockFunctionCallAssembler_Assemble_Call
- func (_c *MockFunctionCallAssembler_Assemble_Call) Run(run func(args functioncall.Args)) *MockFunctionCallAssembler_Assemble_Call
- func (_c *MockFunctionCallAssembler_Assemble_Call) RunAndReturn(run func(args functioncall.Args) (string, error)) *MockFunctionCallAssembler_Assemble_Call
- type MockFunctionCallAssembler_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFunctionCallAssembler ¶
MockFunctionCallAssembler is an autogenerated mock type for the FunctionCallAssembler type
func NewMockFunctionCallAssembler ¶
func NewMockFunctionCallAssembler(t interface {
mock.TestingT
Cleanup(func())
}) *MockFunctionCallAssembler
NewMockFunctionCallAssembler creates a new instance of MockFunctionCallAssembler. 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 (*MockFunctionCallAssembler) Assemble ¶
func (_mock *MockFunctionCallAssembler) Assemble(args functioncall.Args) (string, error)
Assemble provides a mock function for the type MockFunctionCallAssembler
func (*MockFunctionCallAssembler) EXPECT ¶
func (_m *MockFunctionCallAssembler) EXPECT() *MockFunctionCallAssembler_Expecter
type MockFunctionCallAssembler_Assemble_Call ¶
MockFunctionCallAssembler_Assemble_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Assemble'
func (*MockFunctionCallAssembler_Assemble_Call) Return ¶
func (_c *MockFunctionCallAssembler_Assemble_Call) Return(s string, err error) *MockFunctionCallAssembler_Assemble_Call
func (*MockFunctionCallAssembler_Assemble_Call) Run ¶
func (_c *MockFunctionCallAssembler_Assemble_Call) Run(run func(args functioncall.Args)) *MockFunctionCallAssembler_Assemble_Call
func (*MockFunctionCallAssembler_Assemble_Call) RunAndReturn ¶
func (_c *MockFunctionCallAssembler_Assemble_Call) RunAndReturn(run func(args functioncall.Args) (string, error)) *MockFunctionCallAssembler_Assemble_Call
type MockFunctionCallAssembler_Expecter ¶
type MockFunctionCallAssembler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFunctionCallAssembler_Expecter) Assemble ¶
func (_e *MockFunctionCallAssembler_Expecter) Assemble(args interface{}) *MockFunctionCallAssembler_Assemble_Call
Assemble is a helper method to define mock.On call
- args functioncall.Args
Click to show internal directories.
Click to hide internal directories.