Documentation ¶
Index ¶
- type Mock
- func (m *Mock) AssertCallCount(tb testing.TB, method, path string, expected int)
- func (m *Mock) AssertCallCountAsserted(tb testing.TB)
- func (m *Mock) AssertMocksCalled(tb testing.TB)
- func (m *Mock) AssertNoMissingMocks(tb testing.TB)
- func (m *Mock) Close()
- func (m *Mock) Mock(path, resp string, callback ...func(*http.Request) int) *mockResponse
- func (m *Mock) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (m *Mock) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) AssertCallCount ¶
func (*Mock) AssertCallCountAsserted ¶
func (*Mock) AssertMocksCalled ¶
func (*Mock) AssertNoMissingMocks ¶
Click to show internal directories.
Click to hide internal directories.