Documentation
¶
Index ¶
- type AssertableJSON
- func (_m *AssertableJSON) Count(key string, value int) http.AssertableJSON
- func (_m *AssertableJSON) EXPECT() *AssertableJSON_Expecter
- func (_m *AssertableJSON) Each(key string, callback func(http.AssertableJSON)) http.AssertableJSON
- func (_m *AssertableJSON) First(key string, callback func(http.AssertableJSON)) http.AssertableJSON
- func (_m *AssertableJSON) Has(key string) http.AssertableJSON
- func (_m *AssertableJSON) HasAll(keys []string) http.AssertableJSON
- func (_m *AssertableJSON) HasAny(keys []string) http.AssertableJSON
- func (_m *AssertableJSON) HasWithScope(key string, length int, callback func(http.AssertableJSON)) http.AssertableJSON
- func (_m *AssertableJSON) Json() map[string]interface{}
- func (_m *AssertableJSON) Missing(key string) http.AssertableJSON
- func (_m *AssertableJSON) MissingAll(keys []string) http.AssertableJSON
- func (_m *AssertableJSON) Where(key string, value interface{}) http.AssertableJSON
- func (_m *AssertableJSON) WhereNot(key string, value interface{}) http.AssertableJSON
- type AssertableJSON_Count_Call
- func (_c *AssertableJSON_Count_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Count_Call
- func (_c *AssertableJSON_Count_Call) Run(run func(key string, value int)) *AssertableJSON_Count_Call
- func (_c *AssertableJSON_Count_Call) RunAndReturn(run func(string, int) http.AssertableJSON) *AssertableJSON_Count_Call
- type AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) RunAndReturn(run func(string, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_Each_Call
- type AssertableJSON_Expecter
- func (_e *AssertableJSON_Expecter) Count(key interface{}, value interface{}) *AssertableJSON_Count_Call
- func (_e *AssertableJSON_Expecter) Each(key interface{}, callback interface{}) *AssertableJSON_Each_Call
- func (_e *AssertableJSON_Expecter) First(key interface{}, callback interface{}) *AssertableJSON_First_Call
- func (_e *AssertableJSON_Expecter) Has(key interface{}) *AssertableJSON_Has_Call
- func (_e *AssertableJSON_Expecter) HasAll(keys interface{}) *AssertableJSON_HasAll_Call
- func (_e *AssertableJSON_Expecter) HasAny(keys interface{}) *AssertableJSON_HasAny_Call
- func (_e *AssertableJSON_Expecter) HasWithScope(key interface{}, length interface{}, callback interface{}) *AssertableJSON_HasWithScope_Call
- func (_e *AssertableJSON_Expecter) Json() *AssertableJSON_Json_Call
- func (_e *AssertableJSON_Expecter) Missing(key interface{}) *AssertableJSON_Missing_Call
- func (_e *AssertableJSON_Expecter) MissingAll(keys interface{}) *AssertableJSON_MissingAll_Call
- func (_e *AssertableJSON_Expecter) Where(key interface{}, value interface{}) *AssertableJSON_Where_Call
- func (_e *AssertableJSON_Expecter) WhereNot(key interface{}, value interface{}) *AssertableJSON_WhereNot_Call
- type AssertableJSON_First_Call
- func (_c *AssertableJSON_First_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_First_Call
- func (_c *AssertableJSON_First_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_First_Call
- func (_c *AssertableJSON_First_Call) RunAndReturn(run func(string, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_First_Call
- type AssertableJSON_HasAll_Call
- func (_c *AssertableJSON_HasAll_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasAll_Call
- func (_c *AssertableJSON_HasAll_Call) Run(run func(keys []string)) *AssertableJSON_HasAll_Call
- func (_c *AssertableJSON_HasAll_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_HasAll_Call
- type AssertableJSON_HasAny_Call
- func (_c *AssertableJSON_HasAny_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasAny_Call
- func (_c *AssertableJSON_HasAny_Call) Run(run func(keys []string)) *AssertableJSON_HasAny_Call
- func (_c *AssertableJSON_HasAny_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_HasAny_Call
- type AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) Run(run func(key string, length int, callback func(http.AssertableJSON))) *AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) RunAndReturn(run func(string, int, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_HasWithScope_Call
- type AssertableJSON_Has_Call
- type AssertableJSON_Json_Call
- type AssertableJSON_MissingAll_Call
- func (_c *AssertableJSON_MissingAll_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_MissingAll_Call
- func (_c *AssertableJSON_MissingAll_Call) Run(run func(keys []string)) *AssertableJSON_MissingAll_Call
- func (_c *AssertableJSON_MissingAll_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_MissingAll_Call
- type AssertableJSON_Missing_Call
- func (_c *AssertableJSON_Missing_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Missing_Call
- func (_c *AssertableJSON_Missing_Call) Run(run func(key string)) *AssertableJSON_Missing_Call
- func (_c *AssertableJSON_Missing_Call) RunAndReturn(run func(string) http.AssertableJSON) *AssertableJSON_Missing_Call
- type AssertableJSON_WhereNot_Call
- func (_c *AssertableJSON_WhereNot_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_WhereNot_Call
- func (_c *AssertableJSON_WhereNot_Call) Run(run func(key string, value interface{})) *AssertableJSON_WhereNot_Call
- func (_c *AssertableJSON_WhereNot_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_WhereNot_Call
- type AssertableJSON_Where_Call
- func (_c *AssertableJSON_Where_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Where_Call
- func (_c *AssertableJSON_Where_Call) Run(run func(key string, value interface{})) *AssertableJSON_Where_Call
- func (_c *AssertableJSON_Where_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_Where_Call
- type Request
- func (_m *Request) Bind(value interface{}) http.Request
- func (_m *Request) Delete(uri string, body io.Reader) (http.Response, error)
- func (_m *Request) EXPECT() *Request_Expecter
- func (_m *Request) FlushHeaders() http.Request
- func (_m *Request) Get(uri string) (http.Response, error)
- func (_m *Request) Head(uri string) (http.Response, error)
- func (_m *Request) Options(uri string) (http.Response, error)
- func (_m *Request) Patch(uri string, body io.Reader) (http.Response, error)
- func (_m *Request) Post(uri string, body io.Reader) (http.Response, error)
- func (_m *Request) Put(uri string, body io.Reader) (http.Response, error)
- func (_m *Request) WithBasicAuth(username string, password string) http.Request
- func (_m *Request) WithContext(ctx context.Context) http.Request
- func (_m *Request) WithCookie(cookie *nethttp.Cookie) http.Request
- func (_m *Request) WithCookies(cookies []*nethttp.Cookie) http.Request
- func (_m *Request) WithHeader(key string, value string) http.Request
- func (_m *Request) WithHeaders(headers map[string]string) http.Request
- func (_m *Request) WithSession(attributes map[string]interface{}) http.Request
- func (_m *Request) WithToken(token string, ttype ...string) http.Request
- func (_m *Request) WithoutHeader(key string) http.Request
- func (_m *Request) WithoutToken() http.Request
- type Request_Bind_Call
- type Request_Delete_Call
- type Request_Expecter
- func (_e *Request_Expecter) Bind(value interface{}) *Request_Bind_Call
- func (_e *Request_Expecter) Delete(uri interface{}, body interface{}) *Request_Delete_Call
- func (_e *Request_Expecter) FlushHeaders() *Request_FlushHeaders_Call
- func (_e *Request_Expecter) Get(uri interface{}) *Request_Get_Call
- func (_e *Request_Expecter) Head(uri interface{}) *Request_Head_Call
- func (_e *Request_Expecter) Options(uri interface{}) *Request_Options_Call
- func (_e *Request_Expecter) Patch(uri interface{}, body interface{}) *Request_Patch_Call
- func (_e *Request_Expecter) Post(uri interface{}, body interface{}) *Request_Post_Call
- func (_e *Request_Expecter) Put(uri interface{}, body interface{}) *Request_Put_Call
- func (_e *Request_Expecter) WithBasicAuth(username interface{}, password interface{}) *Request_WithBasicAuth_Call
- func (_e *Request_Expecter) WithContext(ctx interface{}) *Request_WithContext_Call
- func (_e *Request_Expecter) WithCookie(cookie interface{}) *Request_WithCookie_Call
- func (_e *Request_Expecter) WithCookies(cookies interface{}) *Request_WithCookies_Call
- func (_e *Request_Expecter) WithHeader(key interface{}, value interface{}) *Request_WithHeader_Call
- func (_e *Request_Expecter) WithHeaders(headers interface{}) *Request_WithHeaders_Call
- func (_e *Request_Expecter) WithSession(attributes interface{}) *Request_WithSession_Call
- func (_e *Request_Expecter) WithToken(token interface{}, ttype ...interface{}) *Request_WithToken_Call
- func (_e *Request_Expecter) WithoutHeader(key interface{}) *Request_WithoutHeader_Call
- func (_e *Request_Expecter) WithoutToken() *Request_WithoutToken_Call
- type Request_FlushHeaders_Call
- type Request_Get_Call
- type Request_Head_Call
- type Request_Options_Call
- type Request_Patch_Call
- type Request_Post_Call
- type Request_Put_Call
- type Request_WithBasicAuth_Call
- func (_c *Request_WithBasicAuth_Call) Return(_a0 http.Request) *Request_WithBasicAuth_Call
- func (_c *Request_WithBasicAuth_Call) Run(run func(username string, password string)) *Request_WithBasicAuth_Call
- func (_c *Request_WithBasicAuth_Call) RunAndReturn(run func(string, string) http.Request) *Request_WithBasicAuth_Call
- type Request_WithContext_Call
- type Request_WithCookie_Call
- type Request_WithCookies_Call
- func (_c *Request_WithCookies_Call) Return(_a0 http.Request) *Request_WithCookies_Call
- func (_c *Request_WithCookies_Call) Run(run func(cookies []*nethttp.Cookie)) *Request_WithCookies_Call
- func (_c *Request_WithCookies_Call) RunAndReturn(run func([]*nethttp.Cookie) http.Request) *Request_WithCookies_Call
- type Request_WithHeader_Call
- type Request_WithHeaders_Call
- func (_c *Request_WithHeaders_Call) Return(_a0 http.Request) *Request_WithHeaders_Call
- func (_c *Request_WithHeaders_Call) Run(run func(headers map[string]string)) *Request_WithHeaders_Call
- func (_c *Request_WithHeaders_Call) RunAndReturn(run func(map[string]string) http.Request) *Request_WithHeaders_Call
- type Request_WithSession_Call
- func (_c *Request_WithSession_Call) Return(_a0 http.Request) *Request_WithSession_Call
- func (_c *Request_WithSession_Call) Run(run func(attributes map[string]interface{})) *Request_WithSession_Call
- func (_c *Request_WithSession_Call) RunAndReturn(run func(map[string]interface{}) http.Request) *Request_WithSession_Call
- type Request_WithToken_Call
- type Request_WithoutHeader_Call
- type Request_WithoutToken_Call
- type Response
- func (_m *Response) AssertAccepted() http.Response
- func (_m *Response) AssertBadRequest() http.Response
- func (_m *Response) AssertConflict() http.Response
- func (_m *Response) AssertCookie(name string, value string) http.Response
- func (_m *Response) AssertCookieExpired(_a0 string) http.Response
- func (_m *Response) AssertCookieMissing(_a0 string) http.Response
- func (_m *Response) AssertCookieNotExpired(_a0 string) http.Response
- func (_m *Response) AssertCreated() http.Response
- func (_m *Response) AssertDontSee(_a0 []string, _a1 ...bool) http.Response
- func (_m *Response) AssertExactJson(_a0 map[string]interface{}) http.Response
- func (_m *Response) AssertFluentJson(_a0 func(http.AssertableJSON)) http.Response
- func (_m *Response) AssertForbidden() http.Response
- func (_m *Response) AssertFound() http.Response
- func (_m *Response) AssertGone() http.Response
- func (_m *Response) AssertHeader(headerName string, value string) http.Response
- func (_m *Response) AssertHeaderMissing(_a0 string) http.Response
- func (_m *Response) AssertInternalServerError() http.Response
- func (_m *Response) AssertJson(_a0 map[string]interface{}) http.Response
- func (_m *Response) AssertJsonMissing(_a0 map[string]interface{}) http.Response
- func (_m *Response) AssertMethodNotAllowed() http.Response
- func (_m *Response) AssertMovedPermanently() http.Response
- func (_m *Response) AssertNoContent(status ...int) http.Response
- func (_m *Response) AssertNotAcceptable() http.Response
- func (_m *Response) AssertNotFound() http.Response
- func (_m *Response) AssertNotModified() http.Response
- func (_m *Response) AssertOk() http.Response
- func (_m *Response) AssertPartialContent() http.Response
- func (_m *Response) AssertPaymentRequired() http.Response
- func (_m *Response) AssertRequestTimeout() http.Response
- func (_m *Response) AssertSee(_a0 []string, _a1 ...bool) http.Response
- func (_m *Response) AssertSeeInOrder(_a0 []string, _a1 ...bool) http.Response
- func (_m *Response) AssertServerError() http.Response
- func (_m *Response) AssertServiceUnavailable() http.Response
- func (_m *Response) AssertStatus(status int) http.Response
- func (_m *Response) AssertSuccessful() http.Response
- func (_m *Response) AssertTemporaryRedirect() http.Response
- func (_m *Response) AssertTooManyRequests() http.Response
- func (_m *Response) AssertUnauthorized() http.Response
- func (_m *Response) AssertUnprocessableEntity() http.Response
- func (_m *Response) AssertUnsupportedMediaType() http.Response
- func (_m *Response) Content() (string, error)
- func (_m *Response) Cookie(name string) *nethttp.Cookie
- func (_m *Response) Cookies() []*nethttp.Cookie
- func (_m *Response) EXPECT() *Response_Expecter
- func (_m *Response) Headers() nethttp.Header
- func (_m *Response) IsServerError() bool
- func (_m *Response) IsSuccessful() bool
- func (_m *Response) Json() (map[string]interface{}, error)
- func (_m *Response) Session() (map[string]interface{}, error)
- type Response_AssertAccepted_Call
- type Response_AssertBadRequest_Call
- func (_c *Response_AssertBadRequest_Call) Return(_a0 http.Response) *Response_AssertBadRequest_Call
- func (_c *Response_AssertBadRequest_Call) Run(run func()) *Response_AssertBadRequest_Call
- func (_c *Response_AssertBadRequest_Call) RunAndReturn(run func() http.Response) *Response_AssertBadRequest_Call
- type Response_AssertConflict_Call
- type Response_AssertCookieExpired_Call
- func (_c *Response_AssertCookieExpired_Call) Return(_a0 http.Response) *Response_AssertCookieExpired_Call
- func (_c *Response_AssertCookieExpired_Call) Run(run func(_a0 string)) *Response_AssertCookieExpired_Call
- func (_c *Response_AssertCookieExpired_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieExpired_Call
- type Response_AssertCookieMissing_Call
- func (_c *Response_AssertCookieMissing_Call) Return(_a0 http.Response) *Response_AssertCookieMissing_Call
- func (_c *Response_AssertCookieMissing_Call) Run(run func(_a0 string)) *Response_AssertCookieMissing_Call
- func (_c *Response_AssertCookieMissing_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieMissing_Call
- type Response_AssertCookieNotExpired_Call
- func (_c *Response_AssertCookieNotExpired_Call) Return(_a0 http.Response) *Response_AssertCookieNotExpired_Call
- func (_c *Response_AssertCookieNotExpired_Call) Run(run func(_a0 string)) *Response_AssertCookieNotExpired_Call
- func (_c *Response_AssertCookieNotExpired_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieNotExpired_Call
- type Response_AssertCookie_Call
- func (_c *Response_AssertCookie_Call) Return(_a0 http.Response) *Response_AssertCookie_Call
- func (_c *Response_AssertCookie_Call) Run(run func(name string, value string)) *Response_AssertCookie_Call
- func (_c *Response_AssertCookie_Call) RunAndReturn(run func(string, string) http.Response) *Response_AssertCookie_Call
- type Response_AssertCreated_Call
- type Response_AssertDontSee_Call
- func (_c *Response_AssertDontSee_Call) Return(_a0 http.Response) *Response_AssertDontSee_Call
- func (_c *Response_AssertDontSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertDontSee_Call
- func (_c *Response_AssertDontSee_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertDontSee_Call
- type Response_AssertExactJson_Call
- func (_c *Response_AssertExactJson_Call) Return(_a0 http.Response) *Response_AssertExactJson_Call
- func (_c *Response_AssertExactJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertExactJson_Call
- func (_c *Response_AssertExactJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertExactJson_Call
- type Response_AssertFluentJson_Call
- func (_c *Response_AssertFluentJson_Call) Return(_a0 http.Response) *Response_AssertFluentJson_Call
- func (_c *Response_AssertFluentJson_Call) Run(run func(_a0 func(http.AssertableJSON))) *Response_AssertFluentJson_Call
- func (_c *Response_AssertFluentJson_Call) RunAndReturn(run func(func(http.AssertableJSON)) http.Response) *Response_AssertFluentJson_Call
- type Response_AssertForbidden_Call
- type Response_AssertFound_Call
- type Response_AssertGone_Call
- type Response_AssertHeaderMissing_Call
- func (_c *Response_AssertHeaderMissing_Call) Return(_a0 http.Response) *Response_AssertHeaderMissing_Call
- func (_c *Response_AssertHeaderMissing_Call) Run(run func(_a0 string)) *Response_AssertHeaderMissing_Call
- func (_c *Response_AssertHeaderMissing_Call) RunAndReturn(run func(string) http.Response) *Response_AssertHeaderMissing_Call
- type Response_AssertHeader_Call
- func (_c *Response_AssertHeader_Call) Return(_a0 http.Response) *Response_AssertHeader_Call
- func (_c *Response_AssertHeader_Call) Run(run func(headerName string, value string)) *Response_AssertHeader_Call
- func (_c *Response_AssertHeader_Call) RunAndReturn(run func(string, string) http.Response) *Response_AssertHeader_Call
- type Response_AssertInternalServerError_Call
- func (_c *Response_AssertInternalServerError_Call) Return(_a0 http.Response) *Response_AssertInternalServerError_Call
- func (_c *Response_AssertInternalServerError_Call) Run(run func()) *Response_AssertInternalServerError_Call
- func (_c *Response_AssertInternalServerError_Call) RunAndReturn(run func() http.Response) *Response_AssertInternalServerError_Call
- type Response_AssertJsonMissing_Call
- func (_c *Response_AssertJsonMissing_Call) Return(_a0 http.Response) *Response_AssertJsonMissing_Call
- func (_c *Response_AssertJsonMissing_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJsonMissing_Call
- func (_c *Response_AssertJsonMissing_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJsonMissing_Call
- type Response_AssertJson_Call
- func (_c *Response_AssertJson_Call) Return(_a0 http.Response) *Response_AssertJson_Call
- func (_c *Response_AssertJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJson_Call
- func (_c *Response_AssertJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJson_Call
- type Response_AssertMethodNotAllowed_Call
- func (_c *Response_AssertMethodNotAllowed_Call) Return(_a0 http.Response) *Response_AssertMethodNotAllowed_Call
- func (_c *Response_AssertMethodNotAllowed_Call) Run(run func()) *Response_AssertMethodNotAllowed_Call
- func (_c *Response_AssertMethodNotAllowed_Call) RunAndReturn(run func() http.Response) *Response_AssertMethodNotAllowed_Call
- type Response_AssertMovedPermanently_Call
- func (_c *Response_AssertMovedPermanently_Call) Return(_a0 http.Response) *Response_AssertMovedPermanently_Call
- func (_c *Response_AssertMovedPermanently_Call) Run(run func()) *Response_AssertMovedPermanently_Call
- func (_c *Response_AssertMovedPermanently_Call) RunAndReturn(run func() http.Response) *Response_AssertMovedPermanently_Call
- type Response_AssertNoContent_Call
- func (_c *Response_AssertNoContent_Call) Return(_a0 http.Response) *Response_AssertNoContent_Call
- func (_c *Response_AssertNoContent_Call) Run(run func(status ...int)) *Response_AssertNoContent_Call
- func (_c *Response_AssertNoContent_Call) RunAndReturn(run func(...int) http.Response) *Response_AssertNoContent_Call
- type Response_AssertNotAcceptable_Call
- func (_c *Response_AssertNotAcceptable_Call) Return(_a0 http.Response) *Response_AssertNotAcceptable_Call
- func (_c *Response_AssertNotAcceptable_Call) Run(run func()) *Response_AssertNotAcceptable_Call
- func (_c *Response_AssertNotAcceptable_Call) RunAndReturn(run func() http.Response) *Response_AssertNotAcceptable_Call
- type Response_AssertNotFound_Call
- type Response_AssertNotModified_Call
- func (_c *Response_AssertNotModified_Call) Return(_a0 http.Response) *Response_AssertNotModified_Call
- func (_c *Response_AssertNotModified_Call) Run(run func()) *Response_AssertNotModified_Call
- func (_c *Response_AssertNotModified_Call) RunAndReturn(run func() http.Response) *Response_AssertNotModified_Call
- type Response_AssertOk_Call
- type Response_AssertPartialContent_Call
- func (_c *Response_AssertPartialContent_Call) Return(_a0 http.Response) *Response_AssertPartialContent_Call
- func (_c *Response_AssertPartialContent_Call) Run(run func()) *Response_AssertPartialContent_Call
- func (_c *Response_AssertPartialContent_Call) RunAndReturn(run func() http.Response) *Response_AssertPartialContent_Call
- type Response_AssertPaymentRequired_Call
- func (_c *Response_AssertPaymentRequired_Call) Return(_a0 http.Response) *Response_AssertPaymentRequired_Call
- func (_c *Response_AssertPaymentRequired_Call) Run(run func()) *Response_AssertPaymentRequired_Call
- func (_c *Response_AssertPaymentRequired_Call) RunAndReturn(run func() http.Response) *Response_AssertPaymentRequired_Call
- type Response_AssertRequestTimeout_Call
- func (_c *Response_AssertRequestTimeout_Call) Return(_a0 http.Response) *Response_AssertRequestTimeout_Call
- func (_c *Response_AssertRequestTimeout_Call) Run(run func()) *Response_AssertRequestTimeout_Call
- func (_c *Response_AssertRequestTimeout_Call) RunAndReturn(run func() http.Response) *Response_AssertRequestTimeout_Call
- type Response_AssertSeeInOrder_Call
- func (_c *Response_AssertSeeInOrder_Call) Return(_a0 http.Response) *Response_AssertSeeInOrder_Call
- func (_c *Response_AssertSeeInOrder_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertSeeInOrder_Call
- func (_c *Response_AssertSeeInOrder_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertSeeInOrder_Call
- type Response_AssertSee_Call
- func (_c *Response_AssertSee_Call) Return(_a0 http.Response) *Response_AssertSee_Call
- func (_c *Response_AssertSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertSee_Call
- func (_c *Response_AssertSee_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertSee_Call
- type Response_AssertServerError_Call
- func (_c *Response_AssertServerError_Call) Return(_a0 http.Response) *Response_AssertServerError_Call
- func (_c *Response_AssertServerError_Call) Run(run func()) *Response_AssertServerError_Call
- func (_c *Response_AssertServerError_Call) RunAndReturn(run func() http.Response) *Response_AssertServerError_Call
- type Response_AssertServiceUnavailable_Call
- func (_c *Response_AssertServiceUnavailable_Call) Return(_a0 http.Response) *Response_AssertServiceUnavailable_Call
- func (_c *Response_AssertServiceUnavailable_Call) Run(run func()) *Response_AssertServiceUnavailable_Call
- func (_c *Response_AssertServiceUnavailable_Call) RunAndReturn(run func() http.Response) *Response_AssertServiceUnavailable_Call
- type Response_AssertStatus_Call
- type Response_AssertSuccessful_Call
- func (_c *Response_AssertSuccessful_Call) Return(_a0 http.Response) *Response_AssertSuccessful_Call
- func (_c *Response_AssertSuccessful_Call) Run(run func()) *Response_AssertSuccessful_Call
- func (_c *Response_AssertSuccessful_Call) RunAndReturn(run func() http.Response) *Response_AssertSuccessful_Call
- type Response_AssertTemporaryRedirect_Call
- func (_c *Response_AssertTemporaryRedirect_Call) Return(_a0 http.Response) *Response_AssertTemporaryRedirect_Call
- func (_c *Response_AssertTemporaryRedirect_Call) Run(run func()) *Response_AssertTemporaryRedirect_Call
- func (_c *Response_AssertTemporaryRedirect_Call) RunAndReturn(run func() http.Response) *Response_AssertTemporaryRedirect_Call
- type Response_AssertTooManyRequests_Call
- func (_c *Response_AssertTooManyRequests_Call) Return(_a0 http.Response) *Response_AssertTooManyRequests_Call
- func (_c *Response_AssertTooManyRequests_Call) Run(run func()) *Response_AssertTooManyRequests_Call
- func (_c *Response_AssertTooManyRequests_Call) RunAndReturn(run func() http.Response) *Response_AssertTooManyRequests_Call
- type Response_AssertUnauthorized_Call
- func (_c *Response_AssertUnauthorized_Call) Return(_a0 http.Response) *Response_AssertUnauthorized_Call
- func (_c *Response_AssertUnauthorized_Call) Run(run func()) *Response_AssertUnauthorized_Call
- func (_c *Response_AssertUnauthorized_Call) RunAndReturn(run func() http.Response) *Response_AssertUnauthorized_Call
- type Response_AssertUnprocessableEntity_Call
- func (_c *Response_AssertUnprocessableEntity_Call) Return(_a0 http.Response) *Response_AssertUnprocessableEntity_Call
- func (_c *Response_AssertUnprocessableEntity_Call) Run(run func()) *Response_AssertUnprocessableEntity_Call
- func (_c *Response_AssertUnprocessableEntity_Call) RunAndReturn(run func() http.Response) *Response_AssertUnprocessableEntity_Call
- type Response_AssertUnsupportedMediaType_Call
- func (_c *Response_AssertUnsupportedMediaType_Call) Return(_a0 http.Response) *Response_AssertUnsupportedMediaType_Call
- func (_c *Response_AssertUnsupportedMediaType_Call) Run(run func()) *Response_AssertUnsupportedMediaType_Call
- func (_c *Response_AssertUnsupportedMediaType_Call) RunAndReturn(run func() http.Response) *Response_AssertUnsupportedMediaType_Call
- type Response_Content_Call
- type Response_Cookie_Call
- type Response_Cookies_Call
- type Response_Expecter
- func (_e *Response_Expecter) AssertAccepted() *Response_AssertAccepted_Call
- func (_e *Response_Expecter) AssertBadRequest() *Response_AssertBadRequest_Call
- func (_e *Response_Expecter) AssertConflict() *Response_AssertConflict_Call
- func (_e *Response_Expecter) AssertCookie(name interface{}, value interface{}) *Response_AssertCookie_Call
- func (_e *Response_Expecter) AssertCookieExpired(_a0 interface{}) *Response_AssertCookieExpired_Call
- func (_e *Response_Expecter) AssertCookieMissing(_a0 interface{}) *Response_AssertCookieMissing_Call
- func (_e *Response_Expecter) AssertCookieNotExpired(_a0 interface{}) *Response_AssertCookieNotExpired_Call
- func (_e *Response_Expecter) AssertCreated() *Response_AssertCreated_Call
- func (_e *Response_Expecter) AssertDontSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertDontSee_Call
- func (_e *Response_Expecter) AssertExactJson(_a0 interface{}) *Response_AssertExactJson_Call
- func (_e *Response_Expecter) AssertFluentJson(_a0 interface{}) *Response_AssertFluentJson_Call
- func (_e *Response_Expecter) AssertForbidden() *Response_AssertForbidden_Call
- func (_e *Response_Expecter) AssertFound() *Response_AssertFound_Call
- func (_e *Response_Expecter) AssertGone() *Response_AssertGone_Call
- func (_e *Response_Expecter) AssertHeader(headerName interface{}, value interface{}) *Response_AssertHeader_Call
- func (_e *Response_Expecter) AssertHeaderMissing(_a0 interface{}) *Response_AssertHeaderMissing_Call
- func (_e *Response_Expecter) AssertInternalServerError() *Response_AssertInternalServerError_Call
- func (_e *Response_Expecter) AssertJson(_a0 interface{}) *Response_AssertJson_Call
- func (_e *Response_Expecter) AssertJsonMissing(_a0 interface{}) *Response_AssertJsonMissing_Call
- func (_e *Response_Expecter) AssertMethodNotAllowed() *Response_AssertMethodNotAllowed_Call
- func (_e *Response_Expecter) AssertMovedPermanently() *Response_AssertMovedPermanently_Call
- func (_e *Response_Expecter) AssertNoContent(status ...interface{}) *Response_AssertNoContent_Call
- func (_e *Response_Expecter) AssertNotAcceptable() *Response_AssertNotAcceptable_Call
- func (_e *Response_Expecter) AssertNotFound() *Response_AssertNotFound_Call
- func (_e *Response_Expecter) AssertNotModified() *Response_AssertNotModified_Call
- func (_e *Response_Expecter) AssertOk() *Response_AssertOk_Call
- func (_e *Response_Expecter) AssertPartialContent() *Response_AssertPartialContent_Call
- func (_e *Response_Expecter) AssertPaymentRequired() *Response_AssertPaymentRequired_Call
- func (_e *Response_Expecter) AssertRequestTimeout() *Response_AssertRequestTimeout_Call
- func (_e *Response_Expecter) AssertSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertSee_Call
- func (_e *Response_Expecter) AssertSeeInOrder(_a0 interface{}, _a1 ...interface{}) *Response_AssertSeeInOrder_Call
- func (_e *Response_Expecter) AssertServerError() *Response_AssertServerError_Call
- func (_e *Response_Expecter) AssertServiceUnavailable() *Response_AssertServiceUnavailable_Call
- func (_e *Response_Expecter) AssertStatus(status interface{}) *Response_AssertStatus_Call
- func (_e *Response_Expecter) AssertSuccessful() *Response_AssertSuccessful_Call
- func (_e *Response_Expecter) AssertTemporaryRedirect() *Response_AssertTemporaryRedirect_Call
- func (_e *Response_Expecter) AssertTooManyRequests() *Response_AssertTooManyRequests_Call
- func (_e *Response_Expecter) AssertUnauthorized() *Response_AssertUnauthorized_Call
- func (_e *Response_Expecter) AssertUnprocessableEntity() *Response_AssertUnprocessableEntity_Call
- func (_e *Response_Expecter) AssertUnsupportedMediaType() *Response_AssertUnsupportedMediaType_Call
- func (_e *Response_Expecter) Content() *Response_Content_Call
- func (_e *Response_Expecter) Cookie(name interface{}) *Response_Cookie_Call
- func (_e *Response_Expecter) Cookies() *Response_Cookies_Call
- func (_e *Response_Expecter) Headers() *Response_Headers_Call
- func (_e *Response_Expecter) IsServerError() *Response_IsServerError_Call
- func (_e *Response_Expecter) IsSuccessful() *Response_IsSuccessful_Call
- func (_e *Response_Expecter) Json() *Response_Json_Call
- func (_e *Response_Expecter) Session() *Response_Session_Call
- type Response_Headers_Call
- type Response_IsServerError_Call
- type Response_IsSuccessful_Call
- type Response_Json_Call
- type Response_Session_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertableJSON ¶
AssertableJSON is an autogenerated mock type for the AssertableJSON type
func NewAssertableJSON ¶
func NewAssertableJSON(t interface {
mock.TestingT
Cleanup(func())
}) *AssertableJSON
NewAssertableJSON creates a new instance of AssertableJSON. 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 (*AssertableJSON) Count ¶
func (_m *AssertableJSON) Count(key string, value int) http.AssertableJSON
Count provides a mock function with given fields: key, value
func (*AssertableJSON) EXPECT ¶
func (_m *AssertableJSON) EXPECT() *AssertableJSON_Expecter
func (*AssertableJSON) Each ¶
func (_m *AssertableJSON) Each(key string, callback func(http.AssertableJSON)) http.AssertableJSON
Each provides a mock function with given fields: key, callback
func (*AssertableJSON) First ¶
func (_m *AssertableJSON) First(key string, callback func(http.AssertableJSON)) http.AssertableJSON
First provides a mock function with given fields: key, callback
func (*AssertableJSON) Has ¶
func (_m *AssertableJSON) Has(key string) http.AssertableJSON
Has provides a mock function with given fields: key
func (*AssertableJSON) HasAll ¶
func (_m *AssertableJSON) HasAll(keys []string) http.AssertableJSON
HasAll provides a mock function with given fields: keys
func (*AssertableJSON) HasAny ¶
func (_m *AssertableJSON) HasAny(keys []string) http.AssertableJSON
HasAny provides a mock function with given fields: keys
func (*AssertableJSON) HasWithScope ¶
func (_m *AssertableJSON) HasWithScope(key string, length int, callback func(http.AssertableJSON)) http.AssertableJSON
HasWithScope provides a mock function with given fields: key, length, callback
func (*AssertableJSON) Json ¶
func (_m *AssertableJSON) Json() map[string]interface{}
Json provides a mock function with no fields
func (*AssertableJSON) Missing ¶
func (_m *AssertableJSON) Missing(key string) http.AssertableJSON
Missing provides a mock function with given fields: key
func (*AssertableJSON) MissingAll ¶
func (_m *AssertableJSON) MissingAll(keys []string) http.AssertableJSON
MissingAll provides a mock function with given fields: keys
func (*AssertableJSON) Where ¶
func (_m *AssertableJSON) Where(key string, value interface{}) http.AssertableJSON
Where provides a mock function with given fields: key, value
func (*AssertableJSON) WhereNot ¶
func (_m *AssertableJSON) WhereNot(key string, value interface{}) http.AssertableJSON
WhereNot provides a mock function with given fields: key, value
type AssertableJSON_Count_Call ¶
AssertableJSON_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*AssertableJSON_Count_Call) Return ¶
func (_c *AssertableJSON_Count_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Count_Call
func (*AssertableJSON_Count_Call) Run ¶
func (_c *AssertableJSON_Count_Call) Run(run func(key string, value int)) *AssertableJSON_Count_Call
func (*AssertableJSON_Count_Call) RunAndReturn ¶
func (_c *AssertableJSON_Count_Call) RunAndReturn(run func(string, int) http.AssertableJSON) *AssertableJSON_Count_Call
type AssertableJSON_Each_Call ¶
AssertableJSON_Each_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Each'
func (*AssertableJSON_Each_Call) Return ¶
func (_c *AssertableJSON_Each_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Each_Call
func (*AssertableJSON_Each_Call) Run ¶
func (_c *AssertableJSON_Each_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_Each_Call
func (*AssertableJSON_Each_Call) RunAndReturn ¶
func (_c *AssertableJSON_Each_Call) RunAndReturn(run func(string, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_Each_Call
type AssertableJSON_Expecter ¶
type AssertableJSON_Expecter struct {
// contains filtered or unexported fields
}
func (*AssertableJSON_Expecter) Count ¶
func (_e *AssertableJSON_Expecter) Count(key interface{}, value interface{}) *AssertableJSON_Count_Call
Count is a helper method to define mock.On call
- key string
- value int
func (*AssertableJSON_Expecter) Each ¶
func (_e *AssertableJSON_Expecter) Each(key interface{}, callback interface{}) *AssertableJSON_Each_Call
Each is a helper method to define mock.On call
- key string
- callback func(http.AssertableJSON)
func (*AssertableJSON_Expecter) First ¶
func (_e *AssertableJSON_Expecter) First(key interface{}, callback interface{}) *AssertableJSON_First_Call
First is a helper method to define mock.On call
- key string
- callback func(http.AssertableJSON)
func (*AssertableJSON_Expecter) Has ¶
func (_e *AssertableJSON_Expecter) Has(key interface{}) *AssertableJSON_Has_Call
Has is a helper method to define mock.On call
- key string
func (*AssertableJSON_Expecter) HasAll ¶
func (_e *AssertableJSON_Expecter) HasAll(keys interface{}) *AssertableJSON_HasAll_Call
HasAll is a helper method to define mock.On call
- keys []string
func (*AssertableJSON_Expecter) HasAny ¶
func (_e *AssertableJSON_Expecter) HasAny(keys interface{}) *AssertableJSON_HasAny_Call
HasAny is a helper method to define mock.On call
- keys []string
func (*AssertableJSON_Expecter) HasWithScope ¶
func (_e *AssertableJSON_Expecter) HasWithScope(key interface{}, length interface{}, callback interface{}) *AssertableJSON_HasWithScope_Call
HasWithScope is a helper method to define mock.On call
- key string
- length int
- callback func(http.AssertableJSON)
func (*AssertableJSON_Expecter) Json ¶
func (_e *AssertableJSON_Expecter) Json() *AssertableJSON_Json_Call
Json is a helper method to define mock.On call
func (*AssertableJSON_Expecter) Missing ¶
func (_e *AssertableJSON_Expecter) Missing(key interface{}) *AssertableJSON_Missing_Call
Missing is a helper method to define mock.On call
- key string
func (*AssertableJSON_Expecter) MissingAll ¶
func (_e *AssertableJSON_Expecter) MissingAll(keys interface{}) *AssertableJSON_MissingAll_Call
MissingAll is a helper method to define mock.On call
- keys []string
func (*AssertableJSON_Expecter) Where ¶
func (_e *AssertableJSON_Expecter) Where(key interface{}, value interface{}) *AssertableJSON_Where_Call
Where is a helper method to define mock.On call
- key string
- value interface{}
func (*AssertableJSON_Expecter) WhereNot ¶
func (_e *AssertableJSON_Expecter) WhereNot(key interface{}, value interface{}) *AssertableJSON_WhereNot_Call
WhereNot is a helper method to define mock.On call
- key string
- value interface{}
type AssertableJSON_First_Call ¶
AssertableJSON_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*AssertableJSON_First_Call) Return ¶
func (_c *AssertableJSON_First_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_First_Call
func (*AssertableJSON_First_Call) Run ¶
func (_c *AssertableJSON_First_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_First_Call
func (*AssertableJSON_First_Call) RunAndReturn ¶
func (_c *AssertableJSON_First_Call) RunAndReturn(run func(string, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_First_Call
type AssertableJSON_HasAll_Call ¶
AssertableJSON_HasAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAll'
func (*AssertableJSON_HasAll_Call) Return ¶
func (_c *AssertableJSON_HasAll_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasAll_Call
func (*AssertableJSON_HasAll_Call) Run ¶
func (_c *AssertableJSON_HasAll_Call) Run(run func(keys []string)) *AssertableJSON_HasAll_Call
func (*AssertableJSON_HasAll_Call) RunAndReturn ¶
func (_c *AssertableJSON_HasAll_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_HasAll_Call
type AssertableJSON_HasAny_Call ¶
AssertableJSON_HasAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAny'
func (*AssertableJSON_HasAny_Call) Return ¶
func (_c *AssertableJSON_HasAny_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasAny_Call
func (*AssertableJSON_HasAny_Call) Run ¶
func (_c *AssertableJSON_HasAny_Call) Run(run func(keys []string)) *AssertableJSON_HasAny_Call
func (*AssertableJSON_HasAny_Call) RunAndReturn ¶
func (_c *AssertableJSON_HasAny_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_HasAny_Call
type AssertableJSON_HasWithScope_Call ¶
AssertableJSON_HasWithScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasWithScope'
func (*AssertableJSON_HasWithScope_Call) Return ¶
func (_c *AssertableJSON_HasWithScope_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_HasWithScope_Call
func (*AssertableJSON_HasWithScope_Call) Run ¶
func (_c *AssertableJSON_HasWithScope_Call) Run(run func(key string, length int, callback func(http.AssertableJSON))) *AssertableJSON_HasWithScope_Call
func (*AssertableJSON_HasWithScope_Call) RunAndReturn ¶
func (_c *AssertableJSON_HasWithScope_Call) RunAndReturn(run func(string, int, func(http.AssertableJSON)) http.AssertableJSON) *AssertableJSON_HasWithScope_Call
type AssertableJSON_Has_Call ¶
AssertableJSON_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*AssertableJSON_Has_Call) Return ¶
func (_c *AssertableJSON_Has_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Has_Call
func (*AssertableJSON_Has_Call) Run ¶
func (_c *AssertableJSON_Has_Call) Run(run func(key string)) *AssertableJSON_Has_Call
func (*AssertableJSON_Has_Call) RunAndReturn ¶
func (_c *AssertableJSON_Has_Call) RunAndReturn(run func(string) http.AssertableJSON) *AssertableJSON_Has_Call
type AssertableJSON_Json_Call ¶
AssertableJSON_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'
func (*AssertableJSON_Json_Call) Return ¶
func (_c *AssertableJSON_Json_Call) Return(_a0 map[string]interface{}) *AssertableJSON_Json_Call
func (*AssertableJSON_Json_Call) Run ¶
func (_c *AssertableJSON_Json_Call) Run(run func()) *AssertableJSON_Json_Call
func (*AssertableJSON_Json_Call) RunAndReturn ¶
func (_c *AssertableJSON_Json_Call) RunAndReturn(run func() map[string]interface{}) *AssertableJSON_Json_Call
type AssertableJSON_MissingAll_Call ¶
AssertableJSON_MissingAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MissingAll'
func (*AssertableJSON_MissingAll_Call) Return ¶
func (_c *AssertableJSON_MissingAll_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_MissingAll_Call
func (*AssertableJSON_MissingAll_Call) Run ¶
func (_c *AssertableJSON_MissingAll_Call) Run(run func(keys []string)) *AssertableJSON_MissingAll_Call
func (*AssertableJSON_MissingAll_Call) RunAndReturn ¶
func (_c *AssertableJSON_MissingAll_Call) RunAndReturn(run func([]string) http.AssertableJSON) *AssertableJSON_MissingAll_Call
type AssertableJSON_Missing_Call ¶
AssertableJSON_Missing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Missing'
func (*AssertableJSON_Missing_Call) Return ¶
func (_c *AssertableJSON_Missing_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Missing_Call
func (*AssertableJSON_Missing_Call) Run ¶
func (_c *AssertableJSON_Missing_Call) Run(run func(key string)) *AssertableJSON_Missing_Call
func (*AssertableJSON_Missing_Call) RunAndReturn ¶
func (_c *AssertableJSON_Missing_Call) RunAndReturn(run func(string) http.AssertableJSON) *AssertableJSON_Missing_Call
type AssertableJSON_WhereNot_Call ¶
AssertableJSON_WhereNot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNot'
func (*AssertableJSON_WhereNot_Call) Return ¶
func (_c *AssertableJSON_WhereNot_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_WhereNot_Call
func (*AssertableJSON_WhereNot_Call) Run ¶
func (_c *AssertableJSON_WhereNot_Call) Run(run func(key string, value interface{})) *AssertableJSON_WhereNot_Call
func (*AssertableJSON_WhereNot_Call) RunAndReturn ¶
func (_c *AssertableJSON_WhereNot_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_WhereNot_Call
type AssertableJSON_Where_Call ¶
AssertableJSON_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'
func (*AssertableJSON_Where_Call) Return ¶
func (_c *AssertableJSON_Where_Call) Return(_a0 http.AssertableJSON) *AssertableJSON_Where_Call
func (*AssertableJSON_Where_Call) Run ¶
func (_c *AssertableJSON_Where_Call) Run(run func(key string, value interface{})) *AssertableJSON_Where_Call
func (*AssertableJSON_Where_Call) RunAndReturn ¶
func (_c *AssertableJSON_Where_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_Where_Call
type Request ¶
Request is an autogenerated mock type for the Request type
func NewRequest ¶
NewRequest creates a new instance of Request. 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 (*Request) EXPECT ¶
func (_m *Request) EXPECT() *Request_Expecter
func (*Request) FlushHeaders ¶
FlushHeaders provides a mock function with no fields
func (*Request) WithBasicAuth ¶
WithBasicAuth provides a mock function with given fields: username, password
func (*Request) WithContext ¶
WithContext provides a mock function with given fields: ctx
func (*Request) WithCookie ¶
WithCookie provides a mock function with given fields: cookie
func (*Request) WithCookies ¶
WithCookies provides a mock function with given fields: cookies
func (*Request) WithHeader ¶
WithHeader provides a mock function with given fields: key, value
func (*Request) WithHeaders ¶
WithHeaders provides a mock function with given fields: headers
func (*Request) WithSession ¶
WithSession provides a mock function with given fields: attributes
func (*Request) WithoutHeader ¶
WithoutHeader provides a mock function with given fields: key
func (*Request) WithoutToken ¶
WithoutToken provides a mock function with no fields
type Request_Bind_Call ¶
Request_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*Request_Bind_Call) Return ¶
func (_c *Request_Bind_Call) Return(_a0 http.Request) *Request_Bind_Call
func (*Request_Bind_Call) Run ¶
func (_c *Request_Bind_Call) Run(run func(value interface{})) *Request_Bind_Call
func (*Request_Bind_Call) RunAndReturn ¶
func (_c *Request_Bind_Call) RunAndReturn(run func(interface{}) http.Request) *Request_Bind_Call
type Request_Delete_Call ¶
Request_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Request_Delete_Call) Return ¶
func (_c *Request_Delete_Call) Return(_a0 http.Response, _a1 error) *Request_Delete_Call
func (*Request_Delete_Call) Run ¶
func (_c *Request_Delete_Call) Run(run func(uri string, body io.Reader)) *Request_Delete_Call
func (*Request_Delete_Call) RunAndReturn ¶
func (_c *Request_Delete_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Delete_Call
type Request_Expecter ¶
type Request_Expecter struct {
// contains filtered or unexported fields
}
func (*Request_Expecter) Bind ¶
func (_e *Request_Expecter) Bind(value interface{}) *Request_Bind_Call
Bind is a helper method to define mock.On call
- value interface{}
func (*Request_Expecter) Delete ¶
func (_e *Request_Expecter) Delete(uri interface{}, body interface{}) *Request_Delete_Call
Delete is a helper method to define mock.On call
- uri string
- body io.Reader
func (*Request_Expecter) FlushHeaders ¶
func (_e *Request_Expecter) FlushHeaders() *Request_FlushHeaders_Call
FlushHeaders is a helper method to define mock.On call
func (*Request_Expecter) Get ¶
func (_e *Request_Expecter) Get(uri interface{}) *Request_Get_Call
Get is a helper method to define mock.On call
- uri string
func (*Request_Expecter) Head ¶
func (_e *Request_Expecter) Head(uri interface{}) *Request_Head_Call
Head is a helper method to define mock.On call
- uri string
func (*Request_Expecter) Options ¶
func (_e *Request_Expecter) Options(uri interface{}) *Request_Options_Call
Options is a helper method to define mock.On call
- uri string
func (*Request_Expecter) Patch ¶
func (_e *Request_Expecter) Patch(uri interface{}, body interface{}) *Request_Patch_Call
Patch is a helper method to define mock.On call
- uri string
- body io.Reader
func (*Request_Expecter) Post ¶
func (_e *Request_Expecter) Post(uri interface{}, body interface{}) *Request_Post_Call
Post is a helper method to define mock.On call
- uri string
- body io.Reader
func (*Request_Expecter) Put ¶
func (_e *Request_Expecter) Put(uri interface{}, body interface{}) *Request_Put_Call
Put is a helper method to define mock.On call
- uri string
- body io.Reader
func (*Request_Expecter) WithBasicAuth ¶
func (_e *Request_Expecter) WithBasicAuth(username interface{}, password interface{}) *Request_WithBasicAuth_Call
WithBasicAuth is a helper method to define mock.On call
- username string
- password string
func (*Request_Expecter) WithContext ¶
func (_e *Request_Expecter) WithContext(ctx interface{}) *Request_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
func (*Request_Expecter) WithCookie ¶
func (_e *Request_Expecter) WithCookie(cookie interface{}) *Request_WithCookie_Call
WithCookie is a helper method to define mock.On call
- cookie *nethttp.Cookie
func (*Request_Expecter) WithCookies ¶
func (_e *Request_Expecter) WithCookies(cookies interface{}) *Request_WithCookies_Call
WithCookies is a helper method to define mock.On call
- cookies []*nethttp.Cookie
func (*Request_Expecter) WithHeader ¶
func (_e *Request_Expecter) WithHeader(key interface{}, value interface{}) *Request_WithHeader_Call
WithHeader is a helper method to define mock.On call
- key string
- value string
func (*Request_Expecter) WithHeaders ¶
func (_e *Request_Expecter) WithHeaders(headers interface{}) *Request_WithHeaders_Call
WithHeaders is a helper method to define mock.On call
- headers map[string]string
func (*Request_Expecter) WithSession ¶
func (_e *Request_Expecter) WithSession(attributes interface{}) *Request_WithSession_Call
WithSession is a helper method to define mock.On call
- attributes map[string]interface{}
func (*Request_Expecter) WithToken ¶
func (_e *Request_Expecter) WithToken(token interface{}, ttype ...interface{}) *Request_WithToken_Call
WithToken is a helper method to define mock.On call
- token string
- ttype ...string
func (*Request_Expecter) WithoutHeader ¶
func (_e *Request_Expecter) WithoutHeader(key interface{}) *Request_WithoutHeader_Call
WithoutHeader is a helper method to define mock.On call
- key string
func (*Request_Expecter) WithoutToken ¶
func (_e *Request_Expecter) WithoutToken() *Request_WithoutToken_Call
WithoutToken is a helper method to define mock.On call
type Request_FlushHeaders_Call ¶
Request_FlushHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlushHeaders'
func (*Request_FlushHeaders_Call) Return ¶
func (_c *Request_FlushHeaders_Call) Return(_a0 http.Request) *Request_FlushHeaders_Call
func (*Request_FlushHeaders_Call) Run ¶
func (_c *Request_FlushHeaders_Call) Run(run func()) *Request_FlushHeaders_Call
func (*Request_FlushHeaders_Call) RunAndReturn ¶
func (_c *Request_FlushHeaders_Call) RunAndReturn(run func() http.Request) *Request_FlushHeaders_Call
type Request_Get_Call ¶
Request_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Request_Get_Call) Return ¶
func (_c *Request_Get_Call) Return(_a0 http.Response, _a1 error) *Request_Get_Call
func (*Request_Get_Call) Run ¶
func (_c *Request_Get_Call) Run(run func(uri string)) *Request_Get_Call
func (*Request_Get_Call) RunAndReturn ¶
func (_c *Request_Get_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Get_Call
type Request_Head_Call ¶
Request_Head_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Head'
func (*Request_Head_Call) Return ¶
func (_c *Request_Head_Call) Return(_a0 http.Response, _a1 error) *Request_Head_Call
func (*Request_Head_Call) Run ¶
func (_c *Request_Head_Call) Run(run func(uri string)) *Request_Head_Call
func (*Request_Head_Call) RunAndReturn ¶
func (_c *Request_Head_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Head_Call
type Request_Options_Call ¶
Request_Options_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Options'
func (*Request_Options_Call) Return ¶
func (_c *Request_Options_Call) Return(_a0 http.Response, _a1 error) *Request_Options_Call
func (*Request_Options_Call) Run ¶
func (_c *Request_Options_Call) Run(run func(uri string)) *Request_Options_Call
func (*Request_Options_Call) RunAndReturn ¶
func (_c *Request_Options_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Options_Call
type Request_Patch_Call ¶
Request_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Request_Patch_Call) Return ¶
func (_c *Request_Patch_Call) Return(_a0 http.Response, _a1 error) *Request_Patch_Call
func (*Request_Patch_Call) Run ¶
func (_c *Request_Patch_Call) Run(run func(uri string, body io.Reader)) *Request_Patch_Call
func (*Request_Patch_Call) RunAndReturn ¶
func (_c *Request_Patch_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Patch_Call
type Request_Post_Call ¶
Request_Post_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Post'
func (*Request_Post_Call) Return ¶
func (_c *Request_Post_Call) Return(_a0 http.Response, _a1 error) *Request_Post_Call
func (*Request_Post_Call) Run ¶
func (_c *Request_Post_Call) Run(run func(uri string, body io.Reader)) *Request_Post_Call
func (*Request_Post_Call) RunAndReturn ¶
func (_c *Request_Post_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Post_Call
type Request_Put_Call ¶
Request_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*Request_Put_Call) Return ¶
func (_c *Request_Put_Call) Return(_a0 http.Response, _a1 error) *Request_Put_Call
func (*Request_Put_Call) Run ¶
func (_c *Request_Put_Call) Run(run func(uri string, body io.Reader)) *Request_Put_Call
func (*Request_Put_Call) RunAndReturn ¶
func (_c *Request_Put_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Put_Call
type Request_WithBasicAuth_Call ¶
Request_WithBasicAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithBasicAuth'
func (*Request_WithBasicAuth_Call) Return ¶
func (_c *Request_WithBasicAuth_Call) Return(_a0 http.Request) *Request_WithBasicAuth_Call
func (*Request_WithBasicAuth_Call) Run ¶
func (_c *Request_WithBasicAuth_Call) Run(run func(username string, password string)) *Request_WithBasicAuth_Call
func (*Request_WithBasicAuth_Call) RunAndReturn ¶
func (_c *Request_WithBasicAuth_Call) RunAndReturn(run func(string, string) http.Request) *Request_WithBasicAuth_Call
type Request_WithContext_Call ¶
Request_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*Request_WithContext_Call) Return ¶
func (_c *Request_WithContext_Call) Return(_a0 http.Request) *Request_WithContext_Call
func (*Request_WithContext_Call) Run ¶
func (_c *Request_WithContext_Call) Run(run func(ctx context.Context)) *Request_WithContext_Call
func (*Request_WithContext_Call) RunAndReturn ¶
func (_c *Request_WithContext_Call) RunAndReturn(run func(context.Context) http.Request) *Request_WithContext_Call
type Request_WithCookie_Call ¶
Request_WithCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookie'
func (*Request_WithCookie_Call) Return ¶
func (_c *Request_WithCookie_Call) Return(_a0 http.Request) *Request_WithCookie_Call
func (*Request_WithCookie_Call) Run ¶
func (_c *Request_WithCookie_Call) Run(run func(cookie *nethttp.Cookie)) *Request_WithCookie_Call
func (*Request_WithCookie_Call) RunAndReturn ¶
func (_c *Request_WithCookie_Call) RunAndReturn(run func(*nethttp.Cookie) http.Request) *Request_WithCookie_Call
type Request_WithCookies_Call ¶
Request_WithCookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookies'
func (*Request_WithCookies_Call) Return ¶
func (_c *Request_WithCookies_Call) Return(_a0 http.Request) *Request_WithCookies_Call
func (*Request_WithCookies_Call) Run ¶
func (_c *Request_WithCookies_Call) Run(run func(cookies []*nethttp.Cookie)) *Request_WithCookies_Call
func (*Request_WithCookies_Call) RunAndReturn ¶
func (_c *Request_WithCookies_Call) RunAndReturn(run func([]*nethttp.Cookie) http.Request) *Request_WithCookies_Call
type Request_WithHeader_Call ¶
Request_WithHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeader'
func (*Request_WithHeader_Call) Return ¶
func (_c *Request_WithHeader_Call) Return(_a0 http.Request) *Request_WithHeader_Call
func (*Request_WithHeader_Call) Run ¶
func (_c *Request_WithHeader_Call) Run(run func(key string, value string)) *Request_WithHeader_Call
func (*Request_WithHeader_Call) RunAndReturn ¶
func (_c *Request_WithHeader_Call) RunAndReturn(run func(string, string) http.Request) *Request_WithHeader_Call
type Request_WithHeaders_Call ¶
Request_WithHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeaders'
func (*Request_WithHeaders_Call) Return ¶
func (_c *Request_WithHeaders_Call) Return(_a0 http.Request) *Request_WithHeaders_Call
func (*Request_WithHeaders_Call) Run ¶
func (_c *Request_WithHeaders_Call) Run(run func(headers map[string]string)) *Request_WithHeaders_Call
func (*Request_WithHeaders_Call) RunAndReturn ¶
func (_c *Request_WithHeaders_Call) RunAndReturn(run func(map[string]string) http.Request) *Request_WithHeaders_Call
type Request_WithSession_Call ¶
Request_WithSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSession'
func (*Request_WithSession_Call) Return ¶
func (_c *Request_WithSession_Call) Return(_a0 http.Request) *Request_WithSession_Call
func (*Request_WithSession_Call) Run ¶
func (_c *Request_WithSession_Call) Run(run func(attributes map[string]interface{})) *Request_WithSession_Call
func (*Request_WithSession_Call) RunAndReturn ¶
func (_c *Request_WithSession_Call) RunAndReturn(run func(map[string]interface{}) http.Request) *Request_WithSession_Call
type Request_WithToken_Call ¶
Request_WithToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithToken'
func (*Request_WithToken_Call) Return ¶
func (_c *Request_WithToken_Call) Return(_a0 http.Request) *Request_WithToken_Call
func (*Request_WithToken_Call) Run ¶
func (_c *Request_WithToken_Call) Run(run func(token string, ttype ...string)) *Request_WithToken_Call
func (*Request_WithToken_Call) RunAndReturn ¶
func (_c *Request_WithToken_Call) RunAndReturn(run func(string, ...string) http.Request) *Request_WithToken_Call
type Request_WithoutHeader_Call ¶
Request_WithoutHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutHeader'
func (*Request_WithoutHeader_Call) Return ¶
func (_c *Request_WithoutHeader_Call) Return(_a0 http.Request) *Request_WithoutHeader_Call
func (*Request_WithoutHeader_Call) Run ¶
func (_c *Request_WithoutHeader_Call) Run(run func(key string)) *Request_WithoutHeader_Call
func (*Request_WithoutHeader_Call) RunAndReturn ¶
func (_c *Request_WithoutHeader_Call) RunAndReturn(run func(string) http.Request) *Request_WithoutHeader_Call
type Request_WithoutToken_Call ¶
Request_WithoutToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutToken'
func (*Request_WithoutToken_Call) Return ¶
func (_c *Request_WithoutToken_Call) Return(_a0 http.Request) *Request_WithoutToken_Call
func (*Request_WithoutToken_Call) Run ¶
func (_c *Request_WithoutToken_Call) Run(run func()) *Request_WithoutToken_Call
func (*Request_WithoutToken_Call) RunAndReturn ¶
func (_c *Request_WithoutToken_Call) RunAndReturn(run func() http.Request) *Request_WithoutToken_Call
type Response ¶
Response is an autogenerated mock type for the Response type
func NewResponse ¶
NewResponse creates a new instance of Response. 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 (*Response) AssertAccepted ¶
AssertAccepted provides a mock function with no fields
func (*Response) AssertBadRequest ¶
AssertBadRequest provides a mock function with no fields
func (*Response) AssertConflict ¶
AssertConflict provides a mock function with no fields
func (*Response) AssertCookie ¶
AssertCookie provides a mock function with given fields: name, value
func (*Response) AssertCookieExpired ¶
AssertCookieExpired provides a mock function with given fields: _a0
func (*Response) AssertCookieMissing ¶
AssertCookieMissing provides a mock function with given fields: _a0
func (*Response) AssertCookieNotExpired ¶
AssertCookieNotExpired provides a mock function with given fields: _a0
func (*Response) AssertCreated ¶
AssertCreated provides a mock function with no fields
func (*Response) AssertDontSee ¶
AssertDontSee provides a mock function with given fields: _a0, _a1
func (*Response) AssertExactJson ¶
AssertExactJson provides a mock function with given fields: _a0
func (*Response) AssertFluentJson ¶
func (_m *Response) AssertFluentJson(_a0 func(http.AssertableJSON)) http.Response
AssertFluentJson provides a mock function with given fields: _a0
func (*Response) AssertForbidden ¶
AssertForbidden provides a mock function with no fields
func (*Response) AssertFound ¶
AssertFound provides a mock function with no fields
func (*Response) AssertGone ¶
AssertGone provides a mock function with no fields
func (*Response) AssertHeader ¶
AssertHeader provides a mock function with given fields: headerName, value
func (*Response) AssertHeaderMissing ¶
AssertHeaderMissing provides a mock function with given fields: _a0
func (*Response) AssertInternalServerError ¶
AssertInternalServerError provides a mock function with no fields
func (*Response) AssertJson ¶
AssertJson provides a mock function with given fields: _a0
func (*Response) AssertJsonMissing ¶
AssertJsonMissing provides a mock function with given fields: _a0
func (*Response) AssertMethodNotAllowed ¶
AssertMethodNotAllowed provides a mock function with no fields
func (*Response) AssertMovedPermanently ¶
AssertMovedPermanently provides a mock function with no fields
func (*Response) AssertNoContent ¶
AssertNoContent provides a mock function with given fields: status
func (*Response) AssertNotAcceptable ¶
AssertNotAcceptable provides a mock function with no fields
func (*Response) AssertNotFound ¶
AssertNotFound provides a mock function with no fields
func (*Response) AssertNotModified ¶
AssertNotModified provides a mock function with no fields
func (*Response) AssertPartialContent ¶
AssertPartialContent provides a mock function with no fields
func (*Response) AssertPaymentRequired ¶
AssertPaymentRequired provides a mock function with no fields
func (*Response) AssertRequestTimeout ¶
AssertRequestTimeout provides a mock function with no fields
func (*Response) AssertSeeInOrder ¶
AssertSeeInOrder provides a mock function with given fields: _a0, _a1
func (*Response) AssertServerError ¶
AssertServerError provides a mock function with no fields
func (*Response) AssertServiceUnavailable ¶
AssertServiceUnavailable provides a mock function with no fields
func (*Response) AssertStatus ¶
AssertStatus provides a mock function with given fields: status
func (*Response) AssertSuccessful ¶
AssertSuccessful provides a mock function with no fields
func (*Response) AssertTemporaryRedirect ¶
AssertTemporaryRedirect provides a mock function with no fields
func (*Response) AssertTooManyRequests ¶
AssertTooManyRequests provides a mock function with no fields
func (*Response) AssertUnauthorized ¶
AssertUnauthorized provides a mock function with no fields
func (*Response) AssertUnprocessableEntity ¶
AssertUnprocessableEntity provides a mock function with no fields
func (*Response) AssertUnsupportedMediaType ¶
AssertUnsupportedMediaType provides a mock function with no fields
func (*Response) EXPECT ¶
func (_m *Response) EXPECT() *Response_Expecter
func (*Response) IsServerError ¶
IsServerError provides a mock function with no fields
func (*Response) IsSuccessful ¶
IsSuccessful provides a mock function with no fields
type Response_AssertAccepted_Call ¶
Response_AssertAccepted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertAccepted'
func (*Response_AssertAccepted_Call) Return ¶
func (_c *Response_AssertAccepted_Call) Return(_a0 http.Response) *Response_AssertAccepted_Call
func (*Response_AssertAccepted_Call) Run ¶
func (_c *Response_AssertAccepted_Call) Run(run func()) *Response_AssertAccepted_Call
func (*Response_AssertAccepted_Call) RunAndReturn ¶
func (_c *Response_AssertAccepted_Call) RunAndReturn(run func() http.Response) *Response_AssertAccepted_Call
type Response_AssertBadRequest_Call ¶
Response_AssertBadRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertBadRequest'
func (*Response_AssertBadRequest_Call) Return ¶
func (_c *Response_AssertBadRequest_Call) Return(_a0 http.Response) *Response_AssertBadRequest_Call
func (*Response_AssertBadRequest_Call) Run ¶
func (_c *Response_AssertBadRequest_Call) Run(run func()) *Response_AssertBadRequest_Call
func (*Response_AssertBadRequest_Call) RunAndReturn ¶
func (_c *Response_AssertBadRequest_Call) RunAndReturn(run func() http.Response) *Response_AssertBadRequest_Call
type Response_AssertConflict_Call ¶
Response_AssertConflict_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertConflict'
func (*Response_AssertConflict_Call) Return ¶
func (_c *Response_AssertConflict_Call) Return(_a0 http.Response) *Response_AssertConflict_Call
func (*Response_AssertConflict_Call) Run ¶
func (_c *Response_AssertConflict_Call) Run(run func()) *Response_AssertConflict_Call
func (*Response_AssertConflict_Call) RunAndReturn ¶
func (_c *Response_AssertConflict_Call) RunAndReturn(run func() http.Response) *Response_AssertConflict_Call
type Response_AssertCookieExpired_Call ¶
Response_AssertCookieExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieExpired'
func (*Response_AssertCookieExpired_Call) Return ¶
func (_c *Response_AssertCookieExpired_Call) Return(_a0 http.Response) *Response_AssertCookieExpired_Call
func (*Response_AssertCookieExpired_Call) Run ¶
func (_c *Response_AssertCookieExpired_Call) Run(run func(_a0 string)) *Response_AssertCookieExpired_Call
func (*Response_AssertCookieExpired_Call) RunAndReturn ¶
func (_c *Response_AssertCookieExpired_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieExpired_Call
type Response_AssertCookieMissing_Call ¶
Response_AssertCookieMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieMissing'
func (*Response_AssertCookieMissing_Call) Return ¶
func (_c *Response_AssertCookieMissing_Call) Return(_a0 http.Response) *Response_AssertCookieMissing_Call
func (*Response_AssertCookieMissing_Call) Run ¶
func (_c *Response_AssertCookieMissing_Call) Run(run func(_a0 string)) *Response_AssertCookieMissing_Call
func (*Response_AssertCookieMissing_Call) RunAndReturn ¶
func (_c *Response_AssertCookieMissing_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieMissing_Call
type Response_AssertCookieNotExpired_Call ¶
Response_AssertCookieNotExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieNotExpired'
func (*Response_AssertCookieNotExpired_Call) Return ¶
func (_c *Response_AssertCookieNotExpired_Call) Return(_a0 http.Response) *Response_AssertCookieNotExpired_Call
func (*Response_AssertCookieNotExpired_Call) Run ¶
func (_c *Response_AssertCookieNotExpired_Call) Run(run func(_a0 string)) *Response_AssertCookieNotExpired_Call
func (*Response_AssertCookieNotExpired_Call) RunAndReturn ¶
func (_c *Response_AssertCookieNotExpired_Call) RunAndReturn(run func(string) http.Response) *Response_AssertCookieNotExpired_Call
type Response_AssertCookie_Call ¶
Response_AssertCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookie'
func (*Response_AssertCookie_Call) Return ¶
func (_c *Response_AssertCookie_Call) Return(_a0 http.Response) *Response_AssertCookie_Call
func (*Response_AssertCookie_Call) Run ¶
func (_c *Response_AssertCookie_Call) Run(run func(name string, value string)) *Response_AssertCookie_Call
func (*Response_AssertCookie_Call) RunAndReturn ¶
func (_c *Response_AssertCookie_Call) RunAndReturn(run func(string, string) http.Response) *Response_AssertCookie_Call
type Response_AssertCreated_Call ¶
Response_AssertCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCreated'
func (*Response_AssertCreated_Call) Return ¶
func (_c *Response_AssertCreated_Call) Return(_a0 http.Response) *Response_AssertCreated_Call
func (*Response_AssertCreated_Call) Run ¶
func (_c *Response_AssertCreated_Call) Run(run func()) *Response_AssertCreated_Call
func (*Response_AssertCreated_Call) RunAndReturn ¶
func (_c *Response_AssertCreated_Call) RunAndReturn(run func() http.Response) *Response_AssertCreated_Call
type Response_AssertDontSee_Call ¶
Response_AssertDontSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertDontSee'
func (*Response_AssertDontSee_Call) Return ¶
func (_c *Response_AssertDontSee_Call) Return(_a0 http.Response) *Response_AssertDontSee_Call
func (*Response_AssertDontSee_Call) Run ¶
func (_c *Response_AssertDontSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertDontSee_Call
func (*Response_AssertDontSee_Call) RunAndReturn ¶
func (_c *Response_AssertDontSee_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertDontSee_Call
type Response_AssertExactJson_Call ¶
Response_AssertExactJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertExactJson'
func (*Response_AssertExactJson_Call) Return ¶
func (_c *Response_AssertExactJson_Call) Return(_a0 http.Response) *Response_AssertExactJson_Call
func (*Response_AssertExactJson_Call) Run ¶
func (_c *Response_AssertExactJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertExactJson_Call
func (*Response_AssertExactJson_Call) RunAndReturn ¶
func (_c *Response_AssertExactJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertExactJson_Call
type Response_AssertFluentJson_Call ¶
Response_AssertFluentJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFluentJson'
func (*Response_AssertFluentJson_Call) Return ¶
func (_c *Response_AssertFluentJson_Call) Return(_a0 http.Response) *Response_AssertFluentJson_Call
func (*Response_AssertFluentJson_Call) Run ¶
func (_c *Response_AssertFluentJson_Call) Run(run func(_a0 func(http.AssertableJSON))) *Response_AssertFluentJson_Call
func (*Response_AssertFluentJson_Call) RunAndReturn ¶
func (_c *Response_AssertFluentJson_Call) RunAndReturn(run func(func(http.AssertableJSON)) http.Response) *Response_AssertFluentJson_Call
type Response_AssertForbidden_Call ¶
Response_AssertForbidden_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertForbidden'
func (*Response_AssertForbidden_Call) Return ¶
func (_c *Response_AssertForbidden_Call) Return(_a0 http.Response) *Response_AssertForbidden_Call
func (*Response_AssertForbidden_Call) Run ¶
func (_c *Response_AssertForbidden_Call) Run(run func()) *Response_AssertForbidden_Call
func (*Response_AssertForbidden_Call) RunAndReturn ¶
func (_c *Response_AssertForbidden_Call) RunAndReturn(run func() http.Response) *Response_AssertForbidden_Call
type Response_AssertFound_Call ¶
Response_AssertFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFound'
func (*Response_AssertFound_Call) Return ¶
func (_c *Response_AssertFound_Call) Return(_a0 http.Response) *Response_AssertFound_Call
func (*Response_AssertFound_Call) Run ¶
func (_c *Response_AssertFound_Call) Run(run func()) *Response_AssertFound_Call
func (*Response_AssertFound_Call) RunAndReturn ¶
func (_c *Response_AssertFound_Call) RunAndReturn(run func() http.Response) *Response_AssertFound_Call
type Response_AssertGone_Call ¶
Response_AssertGone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertGone'
func (*Response_AssertGone_Call) Return ¶
func (_c *Response_AssertGone_Call) Return(_a0 http.Response) *Response_AssertGone_Call
func (*Response_AssertGone_Call) Run ¶
func (_c *Response_AssertGone_Call) Run(run func()) *Response_AssertGone_Call
func (*Response_AssertGone_Call) RunAndReturn ¶
func (_c *Response_AssertGone_Call) RunAndReturn(run func() http.Response) *Response_AssertGone_Call
type Response_AssertHeaderMissing_Call ¶
Response_AssertHeaderMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeaderMissing'
func (*Response_AssertHeaderMissing_Call) Return ¶
func (_c *Response_AssertHeaderMissing_Call) Return(_a0 http.Response) *Response_AssertHeaderMissing_Call
func (*Response_AssertHeaderMissing_Call) Run ¶
func (_c *Response_AssertHeaderMissing_Call) Run(run func(_a0 string)) *Response_AssertHeaderMissing_Call
func (*Response_AssertHeaderMissing_Call) RunAndReturn ¶
func (_c *Response_AssertHeaderMissing_Call) RunAndReturn(run func(string) http.Response) *Response_AssertHeaderMissing_Call
type Response_AssertHeader_Call ¶
Response_AssertHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeader'
func (*Response_AssertHeader_Call) Return ¶
func (_c *Response_AssertHeader_Call) Return(_a0 http.Response) *Response_AssertHeader_Call
func (*Response_AssertHeader_Call) Run ¶
func (_c *Response_AssertHeader_Call) Run(run func(headerName string, value string)) *Response_AssertHeader_Call
func (*Response_AssertHeader_Call) RunAndReturn ¶
func (_c *Response_AssertHeader_Call) RunAndReturn(run func(string, string) http.Response) *Response_AssertHeader_Call
type Response_AssertInternalServerError_Call ¶
Response_AssertInternalServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertInternalServerError'
func (*Response_AssertInternalServerError_Call) Return ¶
func (_c *Response_AssertInternalServerError_Call) Return(_a0 http.Response) *Response_AssertInternalServerError_Call
func (*Response_AssertInternalServerError_Call) Run ¶
func (_c *Response_AssertInternalServerError_Call) Run(run func()) *Response_AssertInternalServerError_Call
func (*Response_AssertInternalServerError_Call) RunAndReturn ¶
func (_c *Response_AssertInternalServerError_Call) RunAndReturn(run func() http.Response) *Response_AssertInternalServerError_Call
type Response_AssertJsonMissing_Call ¶
Response_AssertJsonMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJsonMissing'
func (*Response_AssertJsonMissing_Call) Return ¶
func (_c *Response_AssertJsonMissing_Call) Return(_a0 http.Response) *Response_AssertJsonMissing_Call
func (*Response_AssertJsonMissing_Call) Run ¶
func (_c *Response_AssertJsonMissing_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJsonMissing_Call
func (*Response_AssertJsonMissing_Call) RunAndReturn ¶
func (_c *Response_AssertJsonMissing_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJsonMissing_Call
type Response_AssertJson_Call ¶
Response_AssertJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJson'
func (*Response_AssertJson_Call) Return ¶
func (_c *Response_AssertJson_Call) Return(_a0 http.Response) *Response_AssertJson_Call
func (*Response_AssertJson_Call) Run ¶
func (_c *Response_AssertJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJson_Call
func (*Response_AssertJson_Call) RunAndReturn ¶
func (_c *Response_AssertJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJson_Call
type Response_AssertMethodNotAllowed_Call ¶
Response_AssertMethodNotAllowed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMethodNotAllowed'
func (*Response_AssertMethodNotAllowed_Call) Return ¶
func (_c *Response_AssertMethodNotAllowed_Call) Return(_a0 http.Response) *Response_AssertMethodNotAllowed_Call
func (*Response_AssertMethodNotAllowed_Call) Run ¶
func (_c *Response_AssertMethodNotAllowed_Call) Run(run func()) *Response_AssertMethodNotAllowed_Call
func (*Response_AssertMethodNotAllowed_Call) RunAndReturn ¶
func (_c *Response_AssertMethodNotAllowed_Call) RunAndReturn(run func() http.Response) *Response_AssertMethodNotAllowed_Call
type Response_AssertMovedPermanently_Call ¶
Response_AssertMovedPermanently_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMovedPermanently'
func (*Response_AssertMovedPermanently_Call) Return ¶
func (_c *Response_AssertMovedPermanently_Call) Return(_a0 http.Response) *Response_AssertMovedPermanently_Call
func (*Response_AssertMovedPermanently_Call) Run ¶
func (_c *Response_AssertMovedPermanently_Call) Run(run func()) *Response_AssertMovedPermanently_Call
func (*Response_AssertMovedPermanently_Call) RunAndReturn ¶
func (_c *Response_AssertMovedPermanently_Call) RunAndReturn(run func() http.Response) *Response_AssertMovedPermanently_Call
type Response_AssertNoContent_Call ¶
Response_AssertNoContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNoContent'
func (*Response_AssertNoContent_Call) Return ¶
func (_c *Response_AssertNoContent_Call) Return(_a0 http.Response) *Response_AssertNoContent_Call
func (*Response_AssertNoContent_Call) Run ¶
func (_c *Response_AssertNoContent_Call) Run(run func(status ...int)) *Response_AssertNoContent_Call
func (*Response_AssertNoContent_Call) RunAndReturn ¶
func (_c *Response_AssertNoContent_Call) RunAndReturn(run func(...int) http.Response) *Response_AssertNoContent_Call
type Response_AssertNotAcceptable_Call ¶
Response_AssertNotAcceptable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotAcceptable'
func (*Response_AssertNotAcceptable_Call) Return ¶
func (_c *Response_AssertNotAcceptable_Call) Return(_a0 http.Response) *Response_AssertNotAcceptable_Call
func (*Response_AssertNotAcceptable_Call) Run ¶
func (_c *Response_AssertNotAcceptable_Call) Run(run func()) *Response_AssertNotAcceptable_Call
func (*Response_AssertNotAcceptable_Call) RunAndReturn ¶
func (_c *Response_AssertNotAcceptable_Call) RunAndReturn(run func() http.Response) *Response_AssertNotAcceptable_Call
type Response_AssertNotFound_Call ¶
Response_AssertNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotFound'
func (*Response_AssertNotFound_Call) Return ¶
func (_c *Response_AssertNotFound_Call) Return(_a0 http.Response) *Response_AssertNotFound_Call
func (*Response_AssertNotFound_Call) Run ¶
func (_c *Response_AssertNotFound_Call) Run(run func()) *Response_AssertNotFound_Call
func (*Response_AssertNotFound_Call) RunAndReturn ¶
func (_c *Response_AssertNotFound_Call) RunAndReturn(run func() http.Response) *Response_AssertNotFound_Call
type Response_AssertNotModified_Call ¶
Response_AssertNotModified_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotModified'
func (*Response_AssertNotModified_Call) Return ¶
func (_c *Response_AssertNotModified_Call) Return(_a0 http.Response) *Response_AssertNotModified_Call
func (*Response_AssertNotModified_Call) Run ¶
func (_c *Response_AssertNotModified_Call) Run(run func()) *Response_AssertNotModified_Call
func (*Response_AssertNotModified_Call) RunAndReturn ¶
func (_c *Response_AssertNotModified_Call) RunAndReturn(run func() http.Response) *Response_AssertNotModified_Call
type Response_AssertOk_Call ¶
Response_AssertOk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertOk'
func (*Response_AssertOk_Call) Return ¶
func (_c *Response_AssertOk_Call) Return(_a0 http.Response) *Response_AssertOk_Call
func (*Response_AssertOk_Call) Run ¶
func (_c *Response_AssertOk_Call) Run(run func()) *Response_AssertOk_Call
func (*Response_AssertOk_Call) RunAndReturn ¶
func (_c *Response_AssertOk_Call) RunAndReturn(run func() http.Response) *Response_AssertOk_Call
type Response_AssertPartialContent_Call ¶
Response_AssertPartialContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPartialContent'
func (*Response_AssertPartialContent_Call) Return ¶
func (_c *Response_AssertPartialContent_Call) Return(_a0 http.Response) *Response_AssertPartialContent_Call
func (*Response_AssertPartialContent_Call) Run ¶
func (_c *Response_AssertPartialContent_Call) Run(run func()) *Response_AssertPartialContent_Call
func (*Response_AssertPartialContent_Call) RunAndReturn ¶
func (_c *Response_AssertPartialContent_Call) RunAndReturn(run func() http.Response) *Response_AssertPartialContent_Call
type Response_AssertPaymentRequired_Call ¶
Response_AssertPaymentRequired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPaymentRequired'
func (*Response_AssertPaymentRequired_Call) Return ¶
func (_c *Response_AssertPaymentRequired_Call) Return(_a0 http.Response) *Response_AssertPaymentRequired_Call
func (*Response_AssertPaymentRequired_Call) Run ¶
func (_c *Response_AssertPaymentRequired_Call) Run(run func()) *Response_AssertPaymentRequired_Call
func (*Response_AssertPaymentRequired_Call) RunAndReturn ¶
func (_c *Response_AssertPaymentRequired_Call) RunAndReturn(run func() http.Response) *Response_AssertPaymentRequired_Call
type Response_AssertRequestTimeout_Call ¶
Response_AssertRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertRequestTimeout'
func (*Response_AssertRequestTimeout_Call) Return ¶
func (_c *Response_AssertRequestTimeout_Call) Return(_a0 http.Response) *Response_AssertRequestTimeout_Call
func (*Response_AssertRequestTimeout_Call) Run ¶
func (_c *Response_AssertRequestTimeout_Call) Run(run func()) *Response_AssertRequestTimeout_Call
func (*Response_AssertRequestTimeout_Call) RunAndReturn ¶
func (_c *Response_AssertRequestTimeout_Call) RunAndReturn(run func() http.Response) *Response_AssertRequestTimeout_Call
type Response_AssertSeeInOrder_Call ¶
Response_AssertSeeInOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSeeInOrder'
func (*Response_AssertSeeInOrder_Call) Return ¶
func (_c *Response_AssertSeeInOrder_Call) Return(_a0 http.Response) *Response_AssertSeeInOrder_Call
func (*Response_AssertSeeInOrder_Call) Run ¶
func (_c *Response_AssertSeeInOrder_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertSeeInOrder_Call
func (*Response_AssertSeeInOrder_Call) RunAndReturn ¶
func (_c *Response_AssertSeeInOrder_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertSeeInOrder_Call
type Response_AssertSee_Call ¶
Response_AssertSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSee'
func (*Response_AssertSee_Call) Return ¶
func (_c *Response_AssertSee_Call) Return(_a0 http.Response) *Response_AssertSee_Call
func (*Response_AssertSee_Call) Run ¶
func (_c *Response_AssertSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertSee_Call
func (*Response_AssertSee_Call) RunAndReturn ¶
func (_c *Response_AssertSee_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertSee_Call
type Response_AssertServerError_Call ¶
Response_AssertServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServerError'
func (*Response_AssertServerError_Call) Return ¶
func (_c *Response_AssertServerError_Call) Return(_a0 http.Response) *Response_AssertServerError_Call
func (*Response_AssertServerError_Call) Run ¶
func (_c *Response_AssertServerError_Call) Run(run func()) *Response_AssertServerError_Call
func (*Response_AssertServerError_Call) RunAndReturn ¶
func (_c *Response_AssertServerError_Call) RunAndReturn(run func() http.Response) *Response_AssertServerError_Call
type Response_AssertServiceUnavailable_Call ¶
type Response_AssertServiceUnavailable_Call struct {
}
Response_AssertServiceUnavailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServiceUnavailable'
func (*Response_AssertServiceUnavailable_Call) Return ¶
func (_c *Response_AssertServiceUnavailable_Call) Return(_a0 http.Response) *Response_AssertServiceUnavailable_Call
func (*Response_AssertServiceUnavailable_Call) Run ¶
func (_c *Response_AssertServiceUnavailable_Call) Run(run func()) *Response_AssertServiceUnavailable_Call
func (*Response_AssertServiceUnavailable_Call) RunAndReturn ¶
func (_c *Response_AssertServiceUnavailable_Call) RunAndReturn(run func() http.Response) *Response_AssertServiceUnavailable_Call
type Response_AssertStatus_Call ¶
Response_AssertStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertStatus'
func (*Response_AssertStatus_Call) Return ¶
func (_c *Response_AssertStatus_Call) Return(_a0 http.Response) *Response_AssertStatus_Call
func (*Response_AssertStatus_Call) Run ¶
func (_c *Response_AssertStatus_Call) Run(run func(status int)) *Response_AssertStatus_Call
func (*Response_AssertStatus_Call) RunAndReturn ¶
func (_c *Response_AssertStatus_Call) RunAndReturn(run func(int) http.Response) *Response_AssertStatus_Call
type Response_AssertSuccessful_Call ¶
Response_AssertSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSuccessful'
func (*Response_AssertSuccessful_Call) Return ¶
func (_c *Response_AssertSuccessful_Call) Return(_a0 http.Response) *Response_AssertSuccessful_Call
func (*Response_AssertSuccessful_Call) Run ¶
func (_c *Response_AssertSuccessful_Call) Run(run func()) *Response_AssertSuccessful_Call
func (*Response_AssertSuccessful_Call) RunAndReturn ¶
func (_c *Response_AssertSuccessful_Call) RunAndReturn(run func() http.Response) *Response_AssertSuccessful_Call
type Response_AssertTemporaryRedirect_Call ¶
Response_AssertTemporaryRedirect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTemporaryRedirect'
func (*Response_AssertTemporaryRedirect_Call) Return ¶
func (_c *Response_AssertTemporaryRedirect_Call) Return(_a0 http.Response) *Response_AssertTemporaryRedirect_Call
func (*Response_AssertTemporaryRedirect_Call) Run ¶
func (_c *Response_AssertTemporaryRedirect_Call) Run(run func()) *Response_AssertTemporaryRedirect_Call
func (*Response_AssertTemporaryRedirect_Call) RunAndReturn ¶
func (_c *Response_AssertTemporaryRedirect_Call) RunAndReturn(run func() http.Response) *Response_AssertTemporaryRedirect_Call
type Response_AssertTooManyRequests_Call ¶
Response_AssertTooManyRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTooManyRequests'
func (*Response_AssertTooManyRequests_Call) Return ¶
func (_c *Response_AssertTooManyRequests_Call) Return(_a0 http.Response) *Response_AssertTooManyRequests_Call
func (*Response_AssertTooManyRequests_Call) Run ¶
func (_c *Response_AssertTooManyRequests_Call) Run(run func()) *Response_AssertTooManyRequests_Call
func (*Response_AssertTooManyRequests_Call) RunAndReturn ¶
func (_c *Response_AssertTooManyRequests_Call) RunAndReturn(run func() http.Response) *Response_AssertTooManyRequests_Call
type Response_AssertUnauthorized_Call ¶
type Response_AssertUnauthorized_Call struct {
}
Response_AssertUnauthorized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnauthorized'
func (*Response_AssertUnauthorized_Call) Return ¶
func (_c *Response_AssertUnauthorized_Call) Return(_a0 http.Response) *Response_AssertUnauthorized_Call
func (*Response_AssertUnauthorized_Call) Run ¶
func (_c *Response_AssertUnauthorized_Call) Run(run func()) *Response_AssertUnauthorized_Call
func (*Response_AssertUnauthorized_Call) RunAndReturn ¶
func (_c *Response_AssertUnauthorized_Call) RunAndReturn(run func() http.Response) *Response_AssertUnauthorized_Call
type Response_AssertUnprocessableEntity_Call ¶
Response_AssertUnprocessableEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnprocessableEntity'
func (*Response_AssertUnprocessableEntity_Call) Return ¶
func (_c *Response_AssertUnprocessableEntity_Call) Return(_a0 http.Response) *Response_AssertUnprocessableEntity_Call
func (*Response_AssertUnprocessableEntity_Call) Run ¶
func (_c *Response_AssertUnprocessableEntity_Call) Run(run func()) *Response_AssertUnprocessableEntity_Call
func (*Response_AssertUnprocessableEntity_Call) RunAndReturn ¶
func (_c *Response_AssertUnprocessableEntity_Call) RunAndReturn(run func() http.Response) *Response_AssertUnprocessableEntity_Call
type Response_AssertUnsupportedMediaType_Call ¶
Response_AssertUnsupportedMediaType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnsupportedMediaType'
func (*Response_AssertUnsupportedMediaType_Call) Return ¶
func (_c *Response_AssertUnsupportedMediaType_Call) Return(_a0 http.Response) *Response_AssertUnsupportedMediaType_Call
func (*Response_AssertUnsupportedMediaType_Call) Run ¶
func (_c *Response_AssertUnsupportedMediaType_Call) Run(run func()) *Response_AssertUnsupportedMediaType_Call
func (*Response_AssertUnsupportedMediaType_Call) RunAndReturn ¶
func (_c *Response_AssertUnsupportedMediaType_Call) RunAndReturn(run func() http.Response) *Response_AssertUnsupportedMediaType_Call
type Response_Content_Call ¶
Response_Content_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Content'
func (*Response_Content_Call) Return ¶
func (_c *Response_Content_Call) Return(_a0 string, _a1 error) *Response_Content_Call
func (*Response_Content_Call) Run ¶
func (_c *Response_Content_Call) Run(run func()) *Response_Content_Call
func (*Response_Content_Call) RunAndReturn ¶
func (_c *Response_Content_Call) RunAndReturn(run func() (string, error)) *Response_Content_Call
type Response_Cookie_Call ¶
Response_Cookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookie'
func (*Response_Cookie_Call) Return ¶
func (_c *Response_Cookie_Call) Return(_a0 *nethttp.Cookie) *Response_Cookie_Call
func (*Response_Cookie_Call) Run ¶
func (_c *Response_Cookie_Call) Run(run func(name string)) *Response_Cookie_Call
func (*Response_Cookie_Call) RunAndReturn ¶
func (_c *Response_Cookie_Call) RunAndReturn(run func(string) *nethttp.Cookie) *Response_Cookie_Call
type Response_Cookies_Call ¶
Response_Cookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookies'
func (*Response_Cookies_Call) Return ¶
func (_c *Response_Cookies_Call) Return(_a0 []*nethttp.Cookie) *Response_Cookies_Call
func (*Response_Cookies_Call) Run ¶
func (_c *Response_Cookies_Call) Run(run func()) *Response_Cookies_Call
func (*Response_Cookies_Call) RunAndReturn ¶
func (_c *Response_Cookies_Call) RunAndReturn(run func() []*nethttp.Cookie) *Response_Cookies_Call
type Response_Expecter ¶
type Response_Expecter struct {
// contains filtered or unexported fields
}
func (*Response_Expecter) AssertAccepted ¶
func (_e *Response_Expecter) AssertAccepted() *Response_AssertAccepted_Call
AssertAccepted is a helper method to define mock.On call
func (*Response_Expecter) AssertBadRequest ¶
func (_e *Response_Expecter) AssertBadRequest() *Response_AssertBadRequest_Call
AssertBadRequest is a helper method to define mock.On call
func (*Response_Expecter) AssertConflict ¶
func (_e *Response_Expecter) AssertConflict() *Response_AssertConflict_Call
AssertConflict is a helper method to define mock.On call
func (*Response_Expecter) AssertCookie ¶
func (_e *Response_Expecter) AssertCookie(name interface{}, value interface{}) *Response_AssertCookie_Call
AssertCookie is a helper method to define mock.On call
- name string
- value string
func (*Response_Expecter) AssertCookieExpired ¶
func (_e *Response_Expecter) AssertCookieExpired(_a0 interface{}) *Response_AssertCookieExpired_Call
AssertCookieExpired is a helper method to define mock.On call
- _a0 string
func (*Response_Expecter) AssertCookieMissing ¶
func (_e *Response_Expecter) AssertCookieMissing(_a0 interface{}) *Response_AssertCookieMissing_Call
AssertCookieMissing is a helper method to define mock.On call
- _a0 string
func (*Response_Expecter) AssertCookieNotExpired ¶
func (_e *Response_Expecter) AssertCookieNotExpired(_a0 interface{}) *Response_AssertCookieNotExpired_Call
AssertCookieNotExpired is a helper method to define mock.On call
- _a0 string
func (*Response_Expecter) AssertCreated ¶
func (_e *Response_Expecter) AssertCreated() *Response_AssertCreated_Call
AssertCreated is a helper method to define mock.On call
func (*Response_Expecter) AssertDontSee ¶
func (_e *Response_Expecter) AssertDontSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertDontSee_Call
AssertDontSee is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*Response_Expecter) AssertExactJson ¶
func (_e *Response_Expecter) AssertExactJson(_a0 interface{}) *Response_AssertExactJson_Call
AssertExactJson is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*Response_Expecter) AssertFluentJson ¶
func (_e *Response_Expecter) AssertFluentJson(_a0 interface{}) *Response_AssertFluentJson_Call
AssertFluentJson is a helper method to define mock.On call
- _a0 func(http.AssertableJSON)
func (*Response_Expecter) AssertForbidden ¶
func (_e *Response_Expecter) AssertForbidden() *Response_AssertForbidden_Call
AssertForbidden is a helper method to define mock.On call
func (*Response_Expecter) AssertFound ¶
func (_e *Response_Expecter) AssertFound() *Response_AssertFound_Call
AssertFound is a helper method to define mock.On call
func (*Response_Expecter) AssertGone ¶
func (_e *Response_Expecter) AssertGone() *Response_AssertGone_Call
AssertGone is a helper method to define mock.On call
func (*Response_Expecter) AssertHeader ¶
func (_e *Response_Expecter) AssertHeader(headerName interface{}, value interface{}) *Response_AssertHeader_Call
AssertHeader is a helper method to define mock.On call
- headerName string
- value string
func (*Response_Expecter) AssertHeaderMissing ¶
func (_e *Response_Expecter) AssertHeaderMissing(_a0 interface{}) *Response_AssertHeaderMissing_Call
AssertHeaderMissing is a helper method to define mock.On call
- _a0 string
func (*Response_Expecter) AssertInternalServerError ¶
func (_e *Response_Expecter) AssertInternalServerError() *Response_AssertInternalServerError_Call
AssertInternalServerError is a helper method to define mock.On call
func (*Response_Expecter) AssertJson ¶
func (_e *Response_Expecter) AssertJson(_a0 interface{}) *Response_AssertJson_Call
AssertJson is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*Response_Expecter) AssertJsonMissing ¶
func (_e *Response_Expecter) AssertJsonMissing(_a0 interface{}) *Response_AssertJsonMissing_Call
AssertJsonMissing is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*Response_Expecter) AssertMethodNotAllowed ¶
func (_e *Response_Expecter) AssertMethodNotAllowed() *Response_AssertMethodNotAllowed_Call
AssertMethodNotAllowed is a helper method to define mock.On call
func (*Response_Expecter) AssertMovedPermanently ¶
func (_e *Response_Expecter) AssertMovedPermanently() *Response_AssertMovedPermanently_Call
AssertMovedPermanently is a helper method to define mock.On call
func (*Response_Expecter) AssertNoContent ¶
func (_e *Response_Expecter) AssertNoContent(status ...interface{}) *Response_AssertNoContent_Call
AssertNoContent is a helper method to define mock.On call
- status ...int
func (*Response_Expecter) AssertNotAcceptable ¶
func (_e *Response_Expecter) AssertNotAcceptable() *Response_AssertNotAcceptable_Call
AssertNotAcceptable is a helper method to define mock.On call
func (*Response_Expecter) AssertNotFound ¶
func (_e *Response_Expecter) AssertNotFound() *Response_AssertNotFound_Call
AssertNotFound is a helper method to define mock.On call
func (*Response_Expecter) AssertNotModified ¶
func (_e *Response_Expecter) AssertNotModified() *Response_AssertNotModified_Call
AssertNotModified is a helper method to define mock.On call
func (*Response_Expecter) AssertOk ¶
func (_e *Response_Expecter) AssertOk() *Response_AssertOk_Call
AssertOk is a helper method to define mock.On call
func (*Response_Expecter) AssertPartialContent ¶
func (_e *Response_Expecter) AssertPartialContent() *Response_AssertPartialContent_Call
AssertPartialContent is a helper method to define mock.On call
func (*Response_Expecter) AssertPaymentRequired ¶
func (_e *Response_Expecter) AssertPaymentRequired() *Response_AssertPaymentRequired_Call
AssertPaymentRequired is a helper method to define mock.On call
func (*Response_Expecter) AssertRequestTimeout ¶
func (_e *Response_Expecter) AssertRequestTimeout() *Response_AssertRequestTimeout_Call
AssertRequestTimeout is a helper method to define mock.On call
func (*Response_Expecter) AssertSee ¶
func (_e *Response_Expecter) AssertSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertSee_Call
AssertSee is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*Response_Expecter) AssertSeeInOrder ¶
func (_e *Response_Expecter) AssertSeeInOrder(_a0 interface{}, _a1 ...interface{}) *Response_AssertSeeInOrder_Call
AssertSeeInOrder is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*Response_Expecter) AssertServerError ¶
func (_e *Response_Expecter) AssertServerError() *Response_AssertServerError_Call
AssertServerError is a helper method to define mock.On call
func (*Response_Expecter) AssertServiceUnavailable ¶
func (_e *Response_Expecter) AssertServiceUnavailable() *Response_AssertServiceUnavailable_Call
AssertServiceUnavailable is a helper method to define mock.On call
func (*Response_Expecter) AssertStatus ¶
func (_e *Response_Expecter) AssertStatus(status interface{}) *Response_AssertStatus_Call
AssertStatus is a helper method to define mock.On call
- status int
func (*Response_Expecter) AssertSuccessful ¶
func (_e *Response_Expecter) AssertSuccessful() *Response_AssertSuccessful_Call
AssertSuccessful is a helper method to define mock.On call
func (*Response_Expecter) AssertTemporaryRedirect ¶
func (_e *Response_Expecter) AssertTemporaryRedirect() *Response_AssertTemporaryRedirect_Call
AssertTemporaryRedirect is a helper method to define mock.On call
func (*Response_Expecter) AssertTooManyRequests ¶
func (_e *Response_Expecter) AssertTooManyRequests() *Response_AssertTooManyRequests_Call
AssertTooManyRequests is a helper method to define mock.On call
func (*Response_Expecter) AssertUnauthorized ¶
func (_e *Response_Expecter) AssertUnauthorized() *Response_AssertUnauthorized_Call
AssertUnauthorized is a helper method to define mock.On call
func (*Response_Expecter) AssertUnprocessableEntity ¶
func (_e *Response_Expecter) AssertUnprocessableEntity() *Response_AssertUnprocessableEntity_Call
AssertUnprocessableEntity is a helper method to define mock.On call
func (*Response_Expecter) AssertUnsupportedMediaType ¶
func (_e *Response_Expecter) AssertUnsupportedMediaType() *Response_AssertUnsupportedMediaType_Call
AssertUnsupportedMediaType is a helper method to define mock.On call
func (*Response_Expecter) Content ¶
func (_e *Response_Expecter) Content() *Response_Content_Call
Content is a helper method to define mock.On call
func (*Response_Expecter) Cookie ¶
func (_e *Response_Expecter) Cookie(name interface{}) *Response_Cookie_Call
Cookie is a helper method to define mock.On call
- name string
func (*Response_Expecter) Cookies ¶
func (_e *Response_Expecter) Cookies() *Response_Cookies_Call
Cookies is a helper method to define mock.On call
func (*Response_Expecter) Headers ¶
func (_e *Response_Expecter) Headers() *Response_Headers_Call
Headers is a helper method to define mock.On call
func (*Response_Expecter) IsServerError ¶
func (_e *Response_Expecter) IsServerError() *Response_IsServerError_Call
IsServerError is a helper method to define mock.On call
func (*Response_Expecter) IsSuccessful ¶
func (_e *Response_Expecter) IsSuccessful() *Response_IsSuccessful_Call
IsSuccessful is a helper method to define mock.On call
func (*Response_Expecter) Json ¶
func (_e *Response_Expecter) Json() *Response_Json_Call
Json is a helper method to define mock.On call
func (*Response_Expecter) Session ¶
func (_e *Response_Expecter) Session() *Response_Session_Call
Session is a helper method to define mock.On call
type Response_Headers_Call ¶
Response_Headers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Headers'
func (*Response_Headers_Call) Return ¶
func (_c *Response_Headers_Call) Return(_a0 nethttp.Header) *Response_Headers_Call
func (*Response_Headers_Call) Run ¶
func (_c *Response_Headers_Call) Run(run func()) *Response_Headers_Call
func (*Response_Headers_Call) RunAndReturn ¶
func (_c *Response_Headers_Call) RunAndReturn(run func() nethttp.Header) *Response_Headers_Call
type Response_IsServerError_Call ¶
Response_IsServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServerError'
func (*Response_IsServerError_Call) Return ¶
func (_c *Response_IsServerError_Call) Return(_a0 bool) *Response_IsServerError_Call
func (*Response_IsServerError_Call) Run ¶
func (_c *Response_IsServerError_Call) Run(run func()) *Response_IsServerError_Call
func (*Response_IsServerError_Call) RunAndReturn ¶
func (_c *Response_IsServerError_Call) RunAndReturn(run func() bool) *Response_IsServerError_Call
type Response_IsSuccessful_Call ¶
Response_IsSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSuccessful'
func (*Response_IsSuccessful_Call) Return ¶
func (_c *Response_IsSuccessful_Call) Return(_a0 bool) *Response_IsSuccessful_Call
func (*Response_IsSuccessful_Call) Run ¶
func (_c *Response_IsSuccessful_Call) Run(run func()) *Response_IsSuccessful_Call
func (*Response_IsSuccessful_Call) RunAndReturn ¶
func (_c *Response_IsSuccessful_Call) RunAndReturn(run func() bool) *Response_IsSuccessful_Call
type Response_Json_Call ¶
Response_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'
func (*Response_Json_Call) Return ¶
func (_c *Response_Json_Call) Return(_a0 map[string]interface{}, _a1 error) *Response_Json_Call
func (*Response_Json_Call) Run ¶
func (_c *Response_Json_Call) Run(run func()) *Response_Json_Call
func (*Response_Json_Call) RunAndReturn ¶
func (_c *Response_Json_Call) RunAndReturn(run func() (map[string]interface{}, error)) *Response_Json_Call
type Response_Session_Call ¶
Response_Session_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Session'
func (*Response_Session_Call) Return ¶
func (_c *Response_Session_Call) Return(_a0 map[string]interface{}, _a1 error) *Response_Session_Call
func (*Response_Session_Call) Run ¶
func (_c *Response_Session_Call) Run(run func()) *Response_Session_Call
func (*Response_Session_Call) RunAndReturn ¶
func (_c *Response_Session_Call) RunAndReturn(run func() (map[string]interface{}, error)) *Response_Session_Call