Versions in this module Expand all Collapse all v0 v0.26.18 Sep 7, 2018 Changes in this version + type MockServer struct + Body string + CapturedBody string + CapturedPath string + HandlerCalled bool + Headers map[string]string + ResponseCode int + Server *httptest.Server + URL string + func NewMockServer() *MockServer + func (m *MockServer) ExpectCalled(c *C, expectCalled bool, path string) + func (m *MockServer) ExpectError(c *C, err error, path, expectedErrorString string) + func (m *MockServer) Start(c *C) *MockServer + func (m *MockServer) Stop() + func (m *MockServer) WithBody(body string) *MockServer + func (m *MockServer) WithHeader(key, value string) *MockServer + func (m *MockServer) WithResponseCode(code int) *MockServer