Documentation
¶
Overview ¶
Package httptestutils is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGockRequest ¶
func NewGockRequest() *gock.Request
Types ¶
type GockMatcher ¶
type GockMatcher struct {
// contains filtered or unexported fields
}
GockMatcher is a gock matcher for http.Request
func NewGockMatcher ¶
func NewGockMatcher(req *gock.Request) *GockMatcher
func (*GockMatcher) Matches ¶
func (m *GockMatcher) Matches(x interface{}) bool
Matches returns whether x is a match.
func (*GockMatcher) String ¶
func (m *GockMatcher) String() string
String describes what the matcher matches.
type MockSender ¶
type MockSender struct {
// contains filtered or unexported fields
}
MockSender is a mock of Sender interface.
func NewMockSender ¶
func NewMockSender(ctrl *gomock.Controller) *MockSender
NewMockSender creates a new mock instance.
func (*MockSender) EXPECT ¶
func (m *MockSender) EXPECT() *MockSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSenderMockRecorder ¶
type MockSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockSenderMockRecorder is the mock recorder for MockSender.
func (*MockSenderMockRecorder) Do ¶
func (mr *MockSenderMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do.
func (*MockSenderMockRecorder) Gock ¶
func (mr *MockSenderMockRecorder) Gock(req *gock.Request) *gomock.Call
Gock indicates an expected call of Do.
Click to show internal directories.
Click to hide internal directories.