Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeFormatter
- func (fake *FakeFormatter) DescribeEndpoint(arg1 domain.RestEndPoint, arg2 bool) string
- func (fake *FakeFormatter) DescribeEndpointArgsForCall(i int) (domain.RestEndPoint, bool)
- func (fake *FakeFormatter) DescribeEndpointCallCount() int
- func (fake *FakeFormatter) DescribeEndpointCalls(stub func(domain.RestEndPoint, bool) string)
- func (fake *FakeFormatter) DescribeEndpointReturns(result1 string)
- func (fake *FakeFormatter) DescribeEndpointReturnsOnCall(i int, result1 string)
- func (fake *FakeFormatter) FormatResponse(arg1 string, arg2 string, arg3 bool) (string, error)
- func (fake *FakeFormatter) FormatResponseArgsForCall(i int) (string, string, bool)
- func (fake *FakeFormatter) FormatResponseCallCount() int
- func (fake *FakeFormatter) FormatResponseCalls(stub func(string, string, bool) (string, error))
- func (fake *FakeFormatter) FormatResponseReturns(result1 string, result2 error)
- func (fake *FakeFormatter) FormatResponseReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeFormatter) Invocations() map[string][][]interface{}
- type FakeRequestBuilder
- func (fake *FakeRequestBuilder) ArgsForCall(i int) (domain.RestEndPoint, *domain.CommandData)
- func (fake *FakeRequestBuilder) CallCount() int
- func (fake *FakeRequestBuilder) Calls(stub func(domain.RestEndPoint, *domain.CommandData) (*http.Request, error))
- func (fake *FakeRequestBuilder) Invocations() map[string][][]interface{}
- func (fake *FakeRequestBuilder) Returns(result1 *http.Request, result2 error)
- func (fake *FakeRequestBuilder) ReturnsOnCall(i int, result1 *http.Request, result2 error)
- func (fake *FakeRequestBuilder) Spy(arg1 domain.RestEndPoint, arg2 *domain.CommandData) (*http.Request, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFormatter ¶
type FakeFormatter struct { DescribeEndpointStub func(domain.RestEndPoint, bool) string FormatResponseStub func(string, string, bool) (string, error) // contains filtered or unexported fields }
func (*FakeFormatter) DescribeEndpoint ¶
func (fake *FakeFormatter) DescribeEndpoint(arg1 domain.RestEndPoint, arg2 bool) string
func (*FakeFormatter) DescribeEndpointArgsForCall ¶
func (fake *FakeFormatter) DescribeEndpointArgsForCall(i int) (domain.RestEndPoint, bool)
func (*FakeFormatter) DescribeEndpointCallCount ¶
func (fake *FakeFormatter) DescribeEndpointCallCount() int
func (*FakeFormatter) DescribeEndpointCalls ¶
func (fake *FakeFormatter) DescribeEndpointCalls(stub func(domain.RestEndPoint, bool) string)
func (*FakeFormatter) DescribeEndpointReturns ¶
func (fake *FakeFormatter) DescribeEndpointReturns(result1 string)
func (*FakeFormatter) DescribeEndpointReturnsOnCall ¶
func (fake *FakeFormatter) DescribeEndpointReturnsOnCall(i int, result1 string)
func (*FakeFormatter) FormatResponse ¶
func (*FakeFormatter) FormatResponseArgsForCall ¶
func (fake *FakeFormatter) FormatResponseArgsForCall(i int) (string, string, bool)
func (*FakeFormatter) FormatResponseCallCount ¶
func (fake *FakeFormatter) FormatResponseCallCount() int
func (*FakeFormatter) FormatResponseCalls ¶
func (*FakeFormatter) FormatResponseReturns ¶
func (fake *FakeFormatter) FormatResponseReturns(result1 string, result2 error)
func (*FakeFormatter) FormatResponseReturnsOnCall ¶
func (fake *FakeFormatter) FormatResponseReturnsOnCall(i int, result1 string, result2 error)
func (*FakeFormatter) Invocations ¶
func (fake *FakeFormatter) Invocations() map[string][][]interface{}
type FakeRequestBuilder ¶
type FakeRequestBuilder struct { Stub func(domain.RestEndPoint, *domain.CommandData) (*http.Request, error) // contains filtered or unexported fields }
func (*FakeRequestBuilder) ArgsForCall ¶
func (fake *FakeRequestBuilder) ArgsForCall(i int) (domain.RestEndPoint, *domain.CommandData)
func (*FakeRequestBuilder) CallCount ¶
func (fake *FakeRequestBuilder) CallCount() int
func (*FakeRequestBuilder) Calls ¶
func (fake *FakeRequestBuilder) Calls(stub func(domain.RestEndPoint, *domain.CommandData) (*http.Request, error))
func (*FakeRequestBuilder) Invocations ¶
func (fake *FakeRequestBuilder) Invocations() map[string][][]interface{}
func (*FakeRequestBuilder) Returns ¶
func (fake *FakeRequestBuilder) Returns(result1 *http.Request, result2 error)
func (*FakeRequestBuilder) ReturnsOnCall ¶
func (fake *FakeRequestBuilder) ReturnsOnCall(i int, result1 *http.Request, result2 error)
func (*FakeRequestBuilder) Spy ¶
func (fake *FakeRequestBuilder) Spy(arg1 domain.RestEndPoint, arg2 *domain.CommandData) (*http.Request, error)
Click to show internal directories.
Click to hide internal directories.