Documentation
¶
Index ¶
- type AssertableJSON
- func (_m *AssertableJSON) Count(key string, value int) testing.AssertableJSON
- func (_m *AssertableJSON) EXPECT() *AssertableJSON_Expecter
- func (_m *AssertableJSON) Each(key string, callback func(testing.AssertableJSON)) testing.AssertableJSON
- func (_m *AssertableJSON) First(key string, callback func(testing.AssertableJSON)) testing.AssertableJSON
- func (_m *AssertableJSON) Has(key string) testing.AssertableJSON
- func (_m *AssertableJSON) HasAll(keys []string) testing.AssertableJSON
- func (_m *AssertableJSON) HasAny(keys []string) testing.AssertableJSON
- func (_m *AssertableJSON) HasWithScope(key string, length int, callback func(testing.AssertableJSON)) testing.AssertableJSON
- func (_m *AssertableJSON) Json() map[string]interface{}
- func (_m *AssertableJSON) Missing(key string) testing.AssertableJSON
- func (_m *AssertableJSON) MissingAll(keys []string) testing.AssertableJSON
- func (_m *AssertableJSON) Where(key string, value interface{}) testing.AssertableJSON
- func (_m *AssertableJSON) WhereNot(key string, value interface{}) testing.AssertableJSON
- type AssertableJSON_Count_Call
- func (_c *AssertableJSON_Count_Call) Return(_a0 testing.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) testing.AssertableJSON) *AssertableJSON_Count_Call
- type AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) Run(run func(key string, callback func(testing.AssertableJSON))) *AssertableJSON_Each_Call
- func (_c *AssertableJSON_Each_Call) RunAndReturn(run func(string, func(testing.AssertableJSON)) testing.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 testing.AssertableJSON) *AssertableJSON_First_Call
- func (_c *AssertableJSON_First_Call) Run(run func(key string, callback func(testing.AssertableJSON))) *AssertableJSON_First_Call
- func (_c *AssertableJSON_First_Call) RunAndReturn(run func(string, func(testing.AssertableJSON)) testing.AssertableJSON) *AssertableJSON_First_Call
- type AssertableJSON_HasAll_Call
- func (_c *AssertableJSON_HasAll_Call) Return(_a0 testing.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) testing.AssertableJSON) *AssertableJSON_HasAll_Call
- type AssertableJSON_HasAny_Call
- func (_c *AssertableJSON_HasAny_Call) Return(_a0 testing.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) testing.AssertableJSON) *AssertableJSON_HasAny_Call
- type AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) Run(run func(key string, length int, callback func(testing.AssertableJSON))) *AssertableJSON_HasWithScope_Call
- func (_c *AssertableJSON_HasWithScope_Call) RunAndReturn(run func(string, int, func(testing.AssertableJSON)) testing.AssertableJSON) *AssertableJSON_HasWithScope_Call
- type AssertableJSON_Has_Call
- type AssertableJSON_Json_Call
- type AssertableJSON_MissingAll_Call
- func (_c *AssertableJSON_MissingAll_Call) Return(_a0 testing.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) testing.AssertableJSON) *AssertableJSON_MissingAll_Call
- type AssertableJSON_Missing_Call
- func (_c *AssertableJSON_Missing_Call) Return(_a0 testing.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) testing.AssertableJSON) *AssertableJSON_Missing_Call
- type AssertableJSON_WhereNot_Call
- func (_c *AssertableJSON_WhereNot_Call) Return(_a0 testing.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{}) testing.AssertableJSON) *AssertableJSON_WhereNot_Call
- type AssertableJSON_Where_Call
- func (_c *AssertableJSON_Where_Call) Return(_a0 testing.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{}) testing.AssertableJSON) *AssertableJSON_Where_Call
- type Database
- func (_m *Database) Build() error
- func (_m *Database) Config() testing.DatabaseConfig
- func (_m *Database) Database(name string) (testing.DatabaseDriver, error)
- func (_m *Database) Driver() database.Driver
- func (_m *Database) EXPECT() *Database_Expecter
- func (_m *Database) Fresh() error
- func (_m *Database) Image(image testing.Image)
- func (_m *Database) Migrate() error
- func (_m *Database) Ready() error
- func (_m *Database) Seed(seeders ...seeder.Seeder) error
- func (_m *Database) Shutdown() error
- type DatabaseDriver
- func (_m *DatabaseDriver) Build() error
- func (_m *DatabaseDriver) Config() testing.DatabaseConfig
- func (_m *DatabaseDriver) Database(name string) (testing.DatabaseDriver, error)
- func (_m *DatabaseDriver) Driver() database.Driver
- func (_m *DatabaseDriver) EXPECT() *DatabaseDriver_Expecter
- func (_m *DatabaseDriver) Fresh() error
- func (_m *DatabaseDriver) Image(image testing.Image)
- func (_m *DatabaseDriver) Ready() error
- func (_m *DatabaseDriver) Shutdown() error
- type DatabaseDriver_Build_Call
- type DatabaseDriver_Config_Call
- type DatabaseDriver_Database_Call
- func (_c *DatabaseDriver_Database_Call) Return(_a0 testing.DatabaseDriver, _a1 error) *DatabaseDriver_Database_Call
- func (_c *DatabaseDriver_Database_Call) Run(run func(name string)) *DatabaseDriver_Database_Call
- func (_c *DatabaseDriver_Database_Call) RunAndReturn(run func(string) (testing.DatabaseDriver, error)) *DatabaseDriver_Database_Call
- type DatabaseDriver_Driver_Call
- type DatabaseDriver_Expecter
- func (_e *DatabaseDriver_Expecter) Build() *DatabaseDriver_Build_Call
- func (_e *DatabaseDriver_Expecter) Config() *DatabaseDriver_Config_Call
- func (_e *DatabaseDriver_Expecter) Database(name interface{}) *DatabaseDriver_Database_Call
- func (_e *DatabaseDriver_Expecter) Driver() *DatabaseDriver_Driver_Call
- func (_e *DatabaseDriver_Expecter) Fresh() *DatabaseDriver_Fresh_Call
- func (_e *DatabaseDriver_Expecter) Image(image interface{}) *DatabaseDriver_Image_Call
- func (_e *DatabaseDriver_Expecter) Ready() *DatabaseDriver_Ready_Call
- func (_e *DatabaseDriver_Expecter) Shutdown() *DatabaseDriver_Shutdown_Call
- type DatabaseDriver_Fresh_Call
- type DatabaseDriver_Image_Call
- type DatabaseDriver_Ready_Call
- type DatabaseDriver_Shutdown_Call
- type Database_Build_Call
- type Database_Config_Call
- type Database_Database_Call
- func (_c *Database_Database_Call) Return(_a0 testing.DatabaseDriver, _a1 error) *Database_Database_Call
- func (_c *Database_Database_Call) Run(run func(name string)) *Database_Database_Call
- func (_c *Database_Database_Call) RunAndReturn(run func(string) (testing.DatabaseDriver, error)) *Database_Database_Call
- type Database_Driver_Call
- type Database_Expecter
- func (_e *Database_Expecter) Build() *Database_Build_Call
- func (_e *Database_Expecter) Config() *Database_Config_Call
- func (_e *Database_Expecter) Database(name interface{}) *Database_Database_Call
- func (_e *Database_Expecter) Driver() *Database_Driver_Call
- func (_e *Database_Expecter) Fresh() *Database_Fresh_Call
- func (_e *Database_Expecter) Image(image interface{}) *Database_Image_Call
- func (_e *Database_Expecter) Migrate() *Database_Migrate_Call
- func (_e *Database_Expecter) Ready() *Database_Ready_Call
- func (_e *Database_Expecter) Seed(seeders ...interface{}) *Database_Seed_Call
- func (_e *Database_Expecter) Shutdown() *Database_Shutdown_Call
- type Database_Fresh_Call
- type Database_Image_Call
- type Database_Migrate_Call
- type Database_Ready_Call
- type Database_Seed_Call
- type Database_Shutdown_Call
- type Docker
- type Docker_Database_Call
- type Docker_Expecter
- type TestRequest
- func (_m *TestRequest) Bind(value interface{}) testing.TestRequest
- func (_m *TestRequest) Delete(uri string, body io.Reader) (testing.TestResponse, error)
- func (_m *TestRequest) EXPECT() *TestRequest_Expecter
- func (_m *TestRequest) FlushHeaders() testing.TestRequest
- func (_m *TestRequest) Get(uri string) (testing.TestResponse, error)
- func (_m *TestRequest) Head(uri string) (testing.TestResponse, error)
- func (_m *TestRequest) Options(uri string) (testing.TestResponse, error)
- func (_m *TestRequest) Patch(uri string, body io.Reader) (testing.TestResponse, error)
- func (_m *TestRequest) Post(uri string, body io.Reader) (testing.TestResponse, error)
- func (_m *TestRequest) Put(uri string, body io.Reader) (testing.TestResponse, error)
- func (_m *TestRequest) WithBasicAuth(username string, password string) testing.TestRequest
- func (_m *TestRequest) WithContext(ctx context.Context) testing.TestRequest
- func (_m *TestRequest) WithCookie(key string, value string) testing.TestRequest
- func (_m *TestRequest) WithCookies(cookies map[string]string) testing.TestRequest
- func (_m *TestRequest) WithHeader(key string, value string) testing.TestRequest
- func (_m *TestRequest) WithHeaders(headers map[string]string) testing.TestRequest
- func (_m *TestRequest) WithSession(attributes map[string]interface{}) testing.TestRequest
- func (_m *TestRequest) WithToken(token string, ttype ...string) testing.TestRequest
- func (_m *TestRequest) WithoutHeader(key string) testing.TestRequest
- func (_m *TestRequest) WithoutToken() testing.TestRequest
- type TestRequest_Bind_Call
- type TestRequest_Delete_Call
- func (_c *TestRequest_Delete_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Delete_Call
- func (_c *TestRequest_Delete_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Delete_Call
- func (_c *TestRequest_Delete_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Delete_Call
- type TestRequest_Expecter
- func (_e *TestRequest_Expecter) Bind(value interface{}) *TestRequest_Bind_Call
- func (_e *TestRequest_Expecter) Delete(uri interface{}, body interface{}) *TestRequest_Delete_Call
- func (_e *TestRequest_Expecter) FlushHeaders() *TestRequest_FlushHeaders_Call
- func (_e *TestRequest_Expecter) Get(uri interface{}) *TestRequest_Get_Call
- func (_e *TestRequest_Expecter) Head(uri interface{}) *TestRequest_Head_Call
- func (_e *TestRequest_Expecter) Options(uri interface{}) *TestRequest_Options_Call
- func (_e *TestRequest_Expecter) Patch(uri interface{}, body interface{}) *TestRequest_Patch_Call
- func (_e *TestRequest_Expecter) Post(uri interface{}, body interface{}) *TestRequest_Post_Call
- func (_e *TestRequest_Expecter) Put(uri interface{}, body interface{}) *TestRequest_Put_Call
- func (_e *TestRequest_Expecter) WithBasicAuth(username interface{}, password interface{}) *TestRequest_WithBasicAuth_Call
- func (_e *TestRequest_Expecter) WithContext(ctx interface{}) *TestRequest_WithContext_Call
- func (_e *TestRequest_Expecter) WithCookie(key interface{}, value interface{}) *TestRequest_WithCookie_Call
- func (_e *TestRequest_Expecter) WithCookies(cookies interface{}) *TestRequest_WithCookies_Call
- func (_e *TestRequest_Expecter) WithHeader(key interface{}, value interface{}) *TestRequest_WithHeader_Call
- func (_e *TestRequest_Expecter) WithHeaders(headers interface{}) *TestRequest_WithHeaders_Call
- func (_e *TestRequest_Expecter) WithSession(attributes interface{}) *TestRequest_WithSession_Call
- func (_e *TestRequest_Expecter) WithToken(token interface{}, ttype ...interface{}) *TestRequest_WithToken_Call
- func (_e *TestRequest_Expecter) WithoutHeader(key interface{}) *TestRequest_WithoutHeader_Call
- func (_e *TestRequest_Expecter) WithoutToken() *TestRequest_WithoutToken_Call
- type TestRequest_FlushHeaders_Call
- func (_c *TestRequest_FlushHeaders_Call) Return(_a0 testing.TestRequest) *TestRequest_FlushHeaders_Call
- func (_c *TestRequest_FlushHeaders_Call) Run(run func()) *TestRequest_FlushHeaders_Call
- func (_c *TestRequest_FlushHeaders_Call) RunAndReturn(run func() testing.TestRequest) *TestRequest_FlushHeaders_Call
- type TestRequest_Get_Call
- type TestRequest_Head_Call
- type TestRequest_Options_Call
- func (_c *TestRequest_Options_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Options_Call
- func (_c *TestRequest_Options_Call) Run(run func(uri string)) *TestRequest_Options_Call
- func (_c *TestRequest_Options_Call) RunAndReturn(run func(string) (testing.TestResponse, error)) *TestRequest_Options_Call
- type TestRequest_Patch_Call
- func (_c *TestRequest_Patch_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Patch_Call
- func (_c *TestRequest_Patch_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Patch_Call
- func (_c *TestRequest_Patch_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Patch_Call
- type TestRequest_Post_Call
- func (_c *TestRequest_Post_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Post_Call
- func (_c *TestRequest_Post_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Post_Call
- func (_c *TestRequest_Post_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Post_Call
- type TestRequest_Put_Call
- func (_c *TestRequest_Put_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Put_Call
- func (_c *TestRequest_Put_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Put_Call
- func (_c *TestRequest_Put_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Put_Call
- type TestRequest_WithBasicAuth_Call
- func (_c *TestRequest_WithBasicAuth_Call) Return(_a0 testing.TestRequest) *TestRequest_WithBasicAuth_Call
- func (_c *TestRequest_WithBasicAuth_Call) Run(run func(username string, password string)) *TestRequest_WithBasicAuth_Call
- func (_c *TestRequest_WithBasicAuth_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithBasicAuth_Call
- type TestRequest_WithContext_Call
- func (_c *TestRequest_WithContext_Call) Return(_a0 testing.TestRequest) *TestRequest_WithContext_Call
- func (_c *TestRequest_WithContext_Call) Run(run func(ctx context.Context)) *TestRequest_WithContext_Call
- func (_c *TestRequest_WithContext_Call) RunAndReturn(run func(context.Context) testing.TestRequest) *TestRequest_WithContext_Call
- type TestRequest_WithCookie_Call
- func (_c *TestRequest_WithCookie_Call) Return(_a0 testing.TestRequest) *TestRequest_WithCookie_Call
- func (_c *TestRequest_WithCookie_Call) Run(run func(key string, value string)) *TestRequest_WithCookie_Call
- func (_c *TestRequest_WithCookie_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithCookie_Call
- type TestRequest_WithCookies_Call
- func (_c *TestRequest_WithCookies_Call) Return(_a0 testing.TestRequest) *TestRequest_WithCookies_Call
- func (_c *TestRequest_WithCookies_Call) Run(run func(cookies map[string]string)) *TestRequest_WithCookies_Call
- func (_c *TestRequest_WithCookies_Call) RunAndReturn(run func(map[string]string) testing.TestRequest) *TestRequest_WithCookies_Call
- type TestRequest_WithHeader_Call
- func (_c *TestRequest_WithHeader_Call) Return(_a0 testing.TestRequest) *TestRequest_WithHeader_Call
- func (_c *TestRequest_WithHeader_Call) Run(run func(key string, value string)) *TestRequest_WithHeader_Call
- func (_c *TestRequest_WithHeader_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithHeader_Call
- type TestRequest_WithHeaders_Call
- func (_c *TestRequest_WithHeaders_Call) Return(_a0 testing.TestRequest) *TestRequest_WithHeaders_Call
- func (_c *TestRequest_WithHeaders_Call) Run(run func(headers map[string]string)) *TestRequest_WithHeaders_Call
- func (_c *TestRequest_WithHeaders_Call) RunAndReturn(run func(map[string]string) testing.TestRequest) *TestRequest_WithHeaders_Call
- type TestRequest_WithSession_Call
- func (_c *TestRequest_WithSession_Call) Return(_a0 testing.TestRequest) *TestRequest_WithSession_Call
- func (_c *TestRequest_WithSession_Call) Run(run func(attributes map[string]interface{})) *TestRequest_WithSession_Call
- func (_c *TestRequest_WithSession_Call) RunAndReturn(run func(map[string]interface{}) testing.TestRequest) *TestRequest_WithSession_Call
- type TestRequest_WithToken_Call
- func (_c *TestRequest_WithToken_Call) Return(_a0 testing.TestRequest) *TestRequest_WithToken_Call
- func (_c *TestRequest_WithToken_Call) Run(run func(token string, ttype ...string)) *TestRequest_WithToken_Call
- func (_c *TestRequest_WithToken_Call) RunAndReturn(run func(string, ...string) testing.TestRequest) *TestRequest_WithToken_Call
- type TestRequest_WithoutHeader_Call
- func (_c *TestRequest_WithoutHeader_Call) Return(_a0 testing.TestRequest) *TestRequest_WithoutHeader_Call
- func (_c *TestRequest_WithoutHeader_Call) Run(run func(key string)) *TestRequest_WithoutHeader_Call
- func (_c *TestRequest_WithoutHeader_Call) RunAndReturn(run func(string) testing.TestRequest) *TestRequest_WithoutHeader_Call
- type TestRequest_WithoutToken_Call
- func (_c *TestRequest_WithoutToken_Call) Return(_a0 testing.TestRequest) *TestRequest_WithoutToken_Call
- func (_c *TestRequest_WithoutToken_Call) Run(run func()) *TestRequest_WithoutToken_Call
- func (_c *TestRequest_WithoutToken_Call) RunAndReturn(run func() testing.TestRequest) *TestRequest_WithoutToken_Call
- type TestResponse
- func (_m *TestResponse) AssertAccepted() testing.TestResponse
- func (_m *TestResponse) AssertBadRequest() testing.TestResponse
- func (_m *TestResponse) AssertConflict() testing.TestResponse
- func (_m *TestResponse) AssertCookie(name string, value string) testing.TestResponse
- func (_m *TestResponse) AssertCookieExpired(_a0 string) testing.TestResponse
- func (_m *TestResponse) AssertCookieMissing(_a0 string) testing.TestResponse
- func (_m *TestResponse) AssertCookieNotExpired(_a0 string) testing.TestResponse
- func (_m *TestResponse) AssertCreated() testing.TestResponse
- func (_m *TestResponse) AssertDontSee(_a0 []string, _a1 ...bool) testing.TestResponse
- func (_m *TestResponse) AssertExactJson(_a0 map[string]interface{}) testing.TestResponse
- func (_m *TestResponse) AssertFluentJson(_a0 func(testing.AssertableJSON)) testing.TestResponse
- func (_m *TestResponse) AssertForbidden() testing.TestResponse
- func (_m *TestResponse) AssertFound() testing.TestResponse
- func (_m *TestResponse) AssertGone() testing.TestResponse
- func (_m *TestResponse) AssertHeader(headerName string, value string) testing.TestResponse
- func (_m *TestResponse) AssertHeaderMissing(_a0 string) testing.TestResponse
- func (_m *TestResponse) AssertInternalServerError() testing.TestResponse
- func (_m *TestResponse) AssertJson(_a0 map[string]interface{}) testing.TestResponse
- func (_m *TestResponse) AssertJsonMissing(_a0 map[string]interface{}) testing.TestResponse
- func (_m *TestResponse) AssertMethodNotAllowed() testing.TestResponse
- func (_m *TestResponse) AssertMovedPermanently() testing.TestResponse
- func (_m *TestResponse) AssertNoContent(status ...int) testing.TestResponse
- func (_m *TestResponse) AssertNotAcceptable() testing.TestResponse
- func (_m *TestResponse) AssertNotFound() testing.TestResponse
- func (_m *TestResponse) AssertNotModified() testing.TestResponse
- func (_m *TestResponse) AssertOk() testing.TestResponse
- func (_m *TestResponse) AssertPartialContent() testing.TestResponse
- func (_m *TestResponse) AssertPaymentRequired() testing.TestResponse
- func (_m *TestResponse) AssertRequestTimeout() testing.TestResponse
- func (_m *TestResponse) AssertSee(_a0 []string, _a1 ...bool) testing.TestResponse
- func (_m *TestResponse) AssertSeeInOrder(_a0 []string, _a1 ...bool) testing.TestResponse
- func (_m *TestResponse) AssertServerError() testing.TestResponse
- func (_m *TestResponse) AssertServiceUnavailable() testing.TestResponse
- func (_m *TestResponse) AssertStatus(status int) testing.TestResponse
- func (_m *TestResponse) AssertSuccessful() testing.TestResponse
- func (_m *TestResponse) AssertTemporaryRedirect() testing.TestResponse
- func (_m *TestResponse) AssertTooManyRequests() testing.TestResponse
- func (_m *TestResponse) AssertUnauthorized() testing.TestResponse
- func (_m *TestResponse) AssertUnprocessableEntity() testing.TestResponse
- func (_m *TestResponse) AssertUnsupportedMediaType() testing.TestResponse
- func (_m *TestResponse) Content() (string, error)
- func (_m *TestResponse) Cookie(name string) *http.Cookie
- func (_m *TestResponse) Cookies() []*http.Cookie
- func (_m *TestResponse) EXPECT() *TestResponse_Expecter
- func (_m *TestResponse) Headers() http.Header
- func (_m *TestResponse) IsServerError() bool
- func (_m *TestResponse) IsSuccessful() bool
- func (_m *TestResponse) Json() (map[string]interface{}, error)
- func (_m *TestResponse) Session() (map[string]interface{}, error)
- type TestResponse_AssertAccepted_Call
- func (_c *TestResponse_AssertAccepted_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertAccepted_Call
- func (_c *TestResponse_AssertAccepted_Call) Run(run func()) *TestResponse_AssertAccepted_Call
- func (_c *TestResponse_AssertAccepted_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertAccepted_Call
- type TestResponse_AssertBadRequest_Call
- func (_c *TestResponse_AssertBadRequest_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertBadRequest_Call
- func (_c *TestResponse_AssertBadRequest_Call) Run(run func()) *TestResponse_AssertBadRequest_Call
- func (_c *TestResponse_AssertBadRequest_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertBadRequest_Call
- type TestResponse_AssertConflict_Call
- func (_c *TestResponse_AssertConflict_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertConflict_Call
- func (_c *TestResponse_AssertConflict_Call) Run(run func()) *TestResponse_AssertConflict_Call
- func (_c *TestResponse_AssertConflict_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertConflict_Call
- type TestResponse_AssertCookieExpired_Call
- func (_c *TestResponse_AssertCookieExpired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieExpired_Call
- func (_c *TestResponse_AssertCookieExpired_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieExpired_Call
- func (_c *TestResponse_AssertCookieExpired_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieExpired_Call
- type TestResponse_AssertCookieMissing_Call
- func (_c *TestResponse_AssertCookieMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieMissing_Call
- func (_c *TestResponse_AssertCookieMissing_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieMissing_Call
- func (_c *TestResponse_AssertCookieMissing_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieMissing_Call
- type TestResponse_AssertCookieNotExpired_Call
- func (_c *TestResponse_AssertCookieNotExpired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieNotExpired_Call
- func (_c *TestResponse_AssertCookieNotExpired_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieNotExpired_Call
- func (_c *TestResponse_AssertCookieNotExpired_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieNotExpired_Call
- type TestResponse_AssertCookie_Call
- func (_c *TestResponse_AssertCookie_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookie_Call
- func (_c *TestResponse_AssertCookie_Call) Run(run func(name string, value string)) *TestResponse_AssertCookie_Call
- func (_c *TestResponse_AssertCookie_Call) RunAndReturn(run func(string, string) testing.TestResponse) *TestResponse_AssertCookie_Call
- type TestResponse_AssertCreated_Call
- func (_c *TestResponse_AssertCreated_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCreated_Call
- func (_c *TestResponse_AssertCreated_Call) Run(run func()) *TestResponse_AssertCreated_Call
- func (_c *TestResponse_AssertCreated_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertCreated_Call
- type TestResponse_AssertDontSee_Call
- func (_c *TestResponse_AssertDontSee_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertDontSee_Call
- func (_c *TestResponse_AssertDontSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertDontSee_Call
- func (_c *TestResponse_AssertDontSee_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertDontSee_Call
- type TestResponse_AssertExactJson_Call
- func (_c *TestResponse_AssertExactJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertExactJson_Call
- func (_c *TestResponse_AssertExactJson_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertExactJson_Call
- func (_c *TestResponse_AssertExactJson_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertExactJson_Call
- type TestResponse_AssertFluentJson_Call
- func (_c *TestResponse_AssertFluentJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertFluentJson_Call
- func (_c *TestResponse_AssertFluentJson_Call) Run(run func(_a0 func(testing.AssertableJSON))) *TestResponse_AssertFluentJson_Call
- func (_c *TestResponse_AssertFluentJson_Call) RunAndReturn(run func(func(testing.AssertableJSON)) testing.TestResponse) *TestResponse_AssertFluentJson_Call
- type TestResponse_AssertForbidden_Call
- func (_c *TestResponse_AssertForbidden_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertForbidden_Call
- func (_c *TestResponse_AssertForbidden_Call) Run(run func()) *TestResponse_AssertForbidden_Call
- func (_c *TestResponse_AssertForbidden_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertForbidden_Call
- type TestResponse_AssertFound_Call
- func (_c *TestResponse_AssertFound_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertFound_Call
- func (_c *TestResponse_AssertFound_Call) Run(run func()) *TestResponse_AssertFound_Call
- func (_c *TestResponse_AssertFound_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertFound_Call
- type TestResponse_AssertGone_Call
- func (_c *TestResponse_AssertGone_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertGone_Call
- func (_c *TestResponse_AssertGone_Call) Run(run func()) *TestResponse_AssertGone_Call
- func (_c *TestResponse_AssertGone_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertGone_Call
- type TestResponse_AssertHeaderMissing_Call
- func (_c *TestResponse_AssertHeaderMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertHeaderMissing_Call
- func (_c *TestResponse_AssertHeaderMissing_Call) Run(run func(_a0 string)) *TestResponse_AssertHeaderMissing_Call
- func (_c *TestResponse_AssertHeaderMissing_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertHeaderMissing_Call
- type TestResponse_AssertHeader_Call
- func (_c *TestResponse_AssertHeader_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertHeader_Call
- func (_c *TestResponse_AssertHeader_Call) Run(run func(headerName string, value string)) *TestResponse_AssertHeader_Call
- func (_c *TestResponse_AssertHeader_Call) RunAndReturn(run func(string, string) testing.TestResponse) *TestResponse_AssertHeader_Call
- type TestResponse_AssertInternalServerError_Call
- func (_c *TestResponse_AssertInternalServerError_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertInternalServerError_Call
- func (_c *TestResponse_AssertInternalServerError_Call) Run(run func()) *TestResponse_AssertInternalServerError_Call
- func (_c *TestResponse_AssertInternalServerError_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertInternalServerError_Call
- type TestResponse_AssertJsonMissing_Call
- func (_c *TestResponse_AssertJsonMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertJsonMissing_Call
- func (_c *TestResponse_AssertJsonMissing_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertJsonMissing_Call
- func (_c *TestResponse_AssertJsonMissing_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertJsonMissing_Call
- type TestResponse_AssertJson_Call
- func (_c *TestResponse_AssertJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertJson_Call
- func (_c *TestResponse_AssertJson_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertJson_Call
- func (_c *TestResponse_AssertJson_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertJson_Call
- type TestResponse_AssertMethodNotAllowed_Call
- func (_c *TestResponse_AssertMethodNotAllowed_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertMethodNotAllowed_Call
- func (_c *TestResponse_AssertMethodNotAllowed_Call) Run(run func()) *TestResponse_AssertMethodNotAllowed_Call
- func (_c *TestResponse_AssertMethodNotAllowed_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertMethodNotAllowed_Call
- type TestResponse_AssertMovedPermanently_Call
- func (_c *TestResponse_AssertMovedPermanently_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertMovedPermanently_Call
- func (_c *TestResponse_AssertMovedPermanently_Call) Run(run func()) *TestResponse_AssertMovedPermanently_Call
- func (_c *TestResponse_AssertMovedPermanently_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertMovedPermanently_Call
- type TestResponse_AssertNoContent_Call
- func (_c *TestResponse_AssertNoContent_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNoContent_Call
- func (_c *TestResponse_AssertNoContent_Call) Run(run func(status ...int)) *TestResponse_AssertNoContent_Call
- func (_c *TestResponse_AssertNoContent_Call) RunAndReturn(run func(...int) testing.TestResponse) *TestResponse_AssertNoContent_Call
- type TestResponse_AssertNotAcceptable_Call
- func (_c *TestResponse_AssertNotAcceptable_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotAcceptable_Call
- func (_c *TestResponse_AssertNotAcceptable_Call) Run(run func()) *TestResponse_AssertNotAcceptable_Call
- func (_c *TestResponse_AssertNotAcceptable_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotAcceptable_Call
- type TestResponse_AssertNotFound_Call
- func (_c *TestResponse_AssertNotFound_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotFound_Call
- func (_c *TestResponse_AssertNotFound_Call) Run(run func()) *TestResponse_AssertNotFound_Call
- func (_c *TestResponse_AssertNotFound_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotFound_Call
- type TestResponse_AssertNotModified_Call
- func (_c *TestResponse_AssertNotModified_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotModified_Call
- func (_c *TestResponse_AssertNotModified_Call) Run(run func()) *TestResponse_AssertNotModified_Call
- func (_c *TestResponse_AssertNotModified_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotModified_Call
- type TestResponse_AssertOk_Call
- type TestResponse_AssertPartialContent_Call
- func (_c *TestResponse_AssertPartialContent_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertPartialContent_Call
- func (_c *TestResponse_AssertPartialContent_Call) Run(run func()) *TestResponse_AssertPartialContent_Call
- func (_c *TestResponse_AssertPartialContent_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertPartialContent_Call
- type TestResponse_AssertPaymentRequired_Call
- func (_c *TestResponse_AssertPaymentRequired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertPaymentRequired_Call
- func (_c *TestResponse_AssertPaymentRequired_Call) Run(run func()) *TestResponse_AssertPaymentRequired_Call
- func (_c *TestResponse_AssertPaymentRequired_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertPaymentRequired_Call
- type TestResponse_AssertRequestTimeout_Call
- func (_c *TestResponse_AssertRequestTimeout_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertRequestTimeout_Call
- func (_c *TestResponse_AssertRequestTimeout_Call) Run(run func()) *TestResponse_AssertRequestTimeout_Call
- func (_c *TestResponse_AssertRequestTimeout_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertRequestTimeout_Call
- type TestResponse_AssertSeeInOrder_Call
- func (_c *TestResponse_AssertSeeInOrder_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSeeInOrder_Call
- func (_c *TestResponse_AssertSeeInOrder_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertSeeInOrder_Call
- func (_c *TestResponse_AssertSeeInOrder_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertSeeInOrder_Call
- type TestResponse_AssertSee_Call
- func (_c *TestResponse_AssertSee_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSee_Call
- func (_c *TestResponse_AssertSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertSee_Call
- func (_c *TestResponse_AssertSee_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertSee_Call
- type TestResponse_AssertServerError_Call
- func (_c *TestResponse_AssertServerError_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertServerError_Call
- func (_c *TestResponse_AssertServerError_Call) Run(run func()) *TestResponse_AssertServerError_Call
- func (_c *TestResponse_AssertServerError_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertServerError_Call
- type TestResponse_AssertServiceUnavailable_Call
- func (_c *TestResponse_AssertServiceUnavailable_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertServiceUnavailable_Call
- func (_c *TestResponse_AssertServiceUnavailable_Call) Run(run func()) *TestResponse_AssertServiceUnavailable_Call
- func (_c *TestResponse_AssertServiceUnavailable_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertServiceUnavailable_Call
- type TestResponse_AssertStatus_Call
- func (_c *TestResponse_AssertStatus_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertStatus_Call
- func (_c *TestResponse_AssertStatus_Call) Run(run func(status int)) *TestResponse_AssertStatus_Call
- func (_c *TestResponse_AssertStatus_Call) RunAndReturn(run func(int) testing.TestResponse) *TestResponse_AssertStatus_Call
- type TestResponse_AssertSuccessful_Call
- func (_c *TestResponse_AssertSuccessful_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSuccessful_Call
- func (_c *TestResponse_AssertSuccessful_Call) Run(run func()) *TestResponse_AssertSuccessful_Call
- func (_c *TestResponse_AssertSuccessful_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertSuccessful_Call
- type TestResponse_AssertTemporaryRedirect_Call
- func (_c *TestResponse_AssertTemporaryRedirect_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertTemporaryRedirect_Call
- func (_c *TestResponse_AssertTemporaryRedirect_Call) Run(run func()) *TestResponse_AssertTemporaryRedirect_Call
- func (_c *TestResponse_AssertTemporaryRedirect_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertTemporaryRedirect_Call
- type TestResponse_AssertTooManyRequests_Call
- func (_c *TestResponse_AssertTooManyRequests_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertTooManyRequests_Call
- func (_c *TestResponse_AssertTooManyRequests_Call) Run(run func()) *TestResponse_AssertTooManyRequests_Call
- func (_c *TestResponse_AssertTooManyRequests_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertTooManyRequests_Call
- type TestResponse_AssertUnauthorized_Call
- func (_c *TestResponse_AssertUnauthorized_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnauthorized_Call
- func (_c *TestResponse_AssertUnauthorized_Call) Run(run func()) *TestResponse_AssertUnauthorized_Call
- func (_c *TestResponse_AssertUnauthorized_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnauthorized_Call
- type TestResponse_AssertUnprocessableEntity_Call
- func (_c *TestResponse_AssertUnprocessableEntity_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnprocessableEntity_Call
- func (_c *TestResponse_AssertUnprocessableEntity_Call) Run(run func()) *TestResponse_AssertUnprocessableEntity_Call
- func (_c *TestResponse_AssertUnprocessableEntity_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnprocessableEntity_Call
- type TestResponse_AssertUnsupportedMediaType_Call
- func (_c *TestResponse_AssertUnsupportedMediaType_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnsupportedMediaType_Call
- func (_c *TestResponse_AssertUnsupportedMediaType_Call) Run(run func()) *TestResponse_AssertUnsupportedMediaType_Call
- func (_c *TestResponse_AssertUnsupportedMediaType_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnsupportedMediaType_Call
- type TestResponse_Content_Call
- type TestResponse_Cookie_Call
- type TestResponse_Cookies_Call
- type TestResponse_Expecter
- func (_e *TestResponse_Expecter) AssertAccepted() *TestResponse_AssertAccepted_Call
- func (_e *TestResponse_Expecter) AssertBadRequest() *TestResponse_AssertBadRequest_Call
- func (_e *TestResponse_Expecter) AssertConflict() *TestResponse_AssertConflict_Call
- func (_e *TestResponse_Expecter) AssertCookie(name interface{}, value interface{}) *TestResponse_AssertCookie_Call
- func (_e *TestResponse_Expecter) AssertCookieExpired(_a0 interface{}) *TestResponse_AssertCookieExpired_Call
- func (_e *TestResponse_Expecter) AssertCookieMissing(_a0 interface{}) *TestResponse_AssertCookieMissing_Call
- func (_e *TestResponse_Expecter) AssertCookieNotExpired(_a0 interface{}) *TestResponse_AssertCookieNotExpired_Call
- func (_e *TestResponse_Expecter) AssertCreated() *TestResponse_AssertCreated_Call
- func (_e *TestResponse_Expecter) AssertDontSee(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertDontSee_Call
- func (_e *TestResponse_Expecter) AssertExactJson(_a0 interface{}) *TestResponse_AssertExactJson_Call
- func (_e *TestResponse_Expecter) AssertFluentJson(_a0 interface{}) *TestResponse_AssertFluentJson_Call
- func (_e *TestResponse_Expecter) AssertForbidden() *TestResponse_AssertForbidden_Call
- func (_e *TestResponse_Expecter) AssertFound() *TestResponse_AssertFound_Call
- func (_e *TestResponse_Expecter) AssertGone() *TestResponse_AssertGone_Call
- func (_e *TestResponse_Expecter) AssertHeader(headerName interface{}, value interface{}) *TestResponse_AssertHeader_Call
- func (_e *TestResponse_Expecter) AssertHeaderMissing(_a0 interface{}) *TestResponse_AssertHeaderMissing_Call
- func (_e *TestResponse_Expecter) AssertInternalServerError() *TestResponse_AssertInternalServerError_Call
- func (_e *TestResponse_Expecter) AssertJson(_a0 interface{}) *TestResponse_AssertJson_Call
- func (_e *TestResponse_Expecter) AssertJsonMissing(_a0 interface{}) *TestResponse_AssertJsonMissing_Call
- func (_e *TestResponse_Expecter) AssertMethodNotAllowed() *TestResponse_AssertMethodNotAllowed_Call
- func (_e *TestResponse_Expecter) AssertMovedPermanently() *TestResponse_AssertMovedPermanently_Call
- func (_e *TestResponse_Expecter) AssertNoContent(status ...interface{}) *TestResponse_AssertNoContent_Call
- func (_e *TestResponse_Expecter) AssertNotAcceptable() *TestResponse_AssertNotAcceptable_Call
- func (_e *TestResponse_Expecter) AssertNotFound() *TestResponse_AssertNotFound_Call
- func (_e *TestResponse_Expecter) AssertNotModified() *TestResponse_AssertNotModified_Call
- func (_e *TestResponse_Expecter) AssertOk() *TestResponse_AssertOk_Call
- func (_e *TestResponse_Expecter) AssertPartialContent() *TestResponse_AssertPartialContent_Call
- func (_e *TestResponse_Expecter) AssertPaymentRequired() *TestResponse_AssertPaymentRequired_Call
- func (_e *TestResponse_Expecter) AssertRequestTimeout() *TestResponse_AssertRequestTimeout_Call
- func (_e *TestResponse_Expecter) AssertSee(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertSee_Call
- func (_e *TestResponse_Expecter) AssertSeeInOrder(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertSeeInOrder_Call
- func (_e *TestResponse_Expecter) AssertServerError() *TestResponse_AssertServerError_Call
- func (_e *TestResponse_Expecter) AssertServiceUnavailable() *TestResponse_AssertServiceUnavailable_Call
- func (_e *TestResponse_Expecter) AssertStatus(status interface{}) *TestResponse_AssertStatus_Call
- func (_e *TestResponse_Expecter) AssertSuccessful() *TestResponse_AssertSuccessful_Call
- func (_e *TestResponse_Expecter) AssertTemporaryRedirect() *TestResponse_AssertTemporaryRedirect_Call
- func (_e *TestResponse_Expecter) AssertTooManyRequests() *TestResponse_AssertTooManyRequests_Call
- func (_e *TestResponse_Expecter) AssertUnauthorized() *TestResponse_AssertUnauthorized_Call
- func (_e *TestResponse_Expecter) AssertUnprocessableEntity() *TestResponse_AssertUnprocessableEntity_Call
- func (_e *TestResponse_Expecter) AssertUnsupportedMediaType() *TestResponse_AssertUnsupportedMediaType_Call
- func (_e *TestResponse_Expecter) Content() *TestResponse_Content_Call
- func (_e *TestResponse_Expecter) Cookie(name interface{}) *TestResponse_Cookie_Call
- func (_e *TestResponse_Expecter) Cookies() *TestResponse_Cookies_Call
- func (_e *TestResponse_Expecter) Headers() *TestResponse_Headers_Call
- func (_e *TestResponse_Expecter) IsServerError() *TestResponse_IsServerError_Call
- func (_e *TestResponse_Expecter) IsSuccessful() *TestResponse_IsSuccessful_Call
- func (_e *TestResponse_Expecter) Json() *TestResponse_Json_Call
- func (_e *TestResponse_Expecter) Session() *TestResponse_Session_Call
- type TestResponse_Headers_Call
- type TestResponse_IsServerError_Call
- type TestResponse_IsSuccessful_Call
- type TestResponse_Json_Call
- type TestResponse_Session_Call
- func (_c *TestResponse_Session_Call) Return(_a0 map[string]interface{}, _a1 error) *TestResponse_Session_Call
- func (_c *TestResponse_Session_Call) Run(run func()) *TestResponse_Session_Call
- func (_c *TestResponse_Session_Call) RunAndReturn(run func() (map[string]interface{}, error)) *TestResponse_Session_Call
- type Testing
- type Testing_Docker_Call
- type Testing_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertableJSON ¶ added in v1.15.0
AssertableJSON is an autogenerated mock type for the AssertableJSON type
func NewAssertableJSON ¶ added in v1.15.0
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 ¶ added in v1.15.0
func (_m *AssertableJSON) Count(key string, value int) testing.AssertableJSON
Count provides a mock function with given fields: key, value
func (*AssertableJSON) EXPECT ¶ added in v1.15.0
func (_m *AssertableJSON) EXPECT() *AssertableJSON_Expecter
func (*AssertableJSON) Each ¶ added in v1.15.0
func (_m *AssertableJSON) Each(key string, callback func(testing.AssertableJSON)) testing.AssertableJSON
Each provides a mock function with given fields: key, callback
func (*AssertableJSON) First ¶ added in v1.15.0
func (_m *AssertableJSON) First(key string, callback func(testing.AssertableJSON)) testing.AssertableJSON
First provides a mock function with given fields: key, callback
func (*AssertableJSON) Has ¶ added in v1.15.0
func (_m *AssertableJSON) Has(key string) testing.AssertableJSON
Has provides a mock function with given fields: key
func (*AssertableJSON) HasAll ¶ added in v1.15.0
func (_m *AssertableJSON) HasAll(keys []string) testing.AssertableJSON
HasAll provides a mock function with given fields: keys
func (*AssertableJSON) HasAny ¶ added in v1.15.0
func (_m *AssertableJSON) HasAny(keys []string) testing.AssertableJSON
HasAny provides a mock function with given fields: keys
func (*AssertableJSON) HasWithScope ¶ added in v1.15.0
func (_m *AssertableJSON) HasWithScope(key string, length int, callback func(testing.AssertableJSON)) testing.AssertableJSON
HasWithScope provides a mock function with given fields: key, length, callback
func (*AssertableJSON) Json ¶ added in v1.15.0
func (_m *AssertableJSON) Json() map[string]interface{}
Json provides a mock function with no fields
func (*AssertableJSON) Missing ¶ added in v1.15.0
func (_m *AssertableJSON) Missing(key string) testing.AssertableJSON
Missing provides a mock function with given fields: key
func (*AssertableJSON) MissingAll ¶ added in v1.15.0
func (_m *AssertableJSON) MissingAll(keys []string) testing.AssertableJSON
MissingAll provides a mock function with given fields: keys
func (*AssertableJSON) Where ¶ added in v1.15.0
func (_m *AssertableJSON) Where(key string, value interface{}) testing.AssertableJSON
Where provides a mock function with given fields: key, value
func (*AssertableJSON) WhereNot ¶ added in v1.15.0
func (_m *AssertableJSON) WhereNot(key string, value interface{}) testing.AssertableJSON
WhereNot provides a mock function with given fields: key, value
type AssertableJSON_Count_Call ¶ added in v1.15.0
AssertableJSON_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*AssertableJSON_Count_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Count_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Count_Call
func (*AssertableJSON_Count_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Count_Call) Run(run func(key string, value int)) *AssertableJSON_Count_Call
func (*AssertableJSON_Count_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Count_Call) RunAndReturn(run func(string, int) testing.AssertableJSON) *AssertableJSON_Count_Call
type AssertableJSON_Each_Call ¶ added in v1.15.0
AssertableJSON_Each_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Each'
func (*AssertableJSON_Each_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Each_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Each_Call
func (*AssertableJSON_Each_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Each_Call) Run(run func(key string, callback func(testing.AssertableJSON))) *AssertableJSON_Each_Call
func (*AssertableJSON_Each_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Each_Call) RunAndReturn(run func(string, func(testing.AssertableJSON)) testing.AssertableJSON) *AssertableJSON_Each_Call
type AssertableJSON_Expecter ¶ added in v1.15.0
type AssertableJSON_Expecter struct {
// contains filtered or unexported fields
}
func (*AssertableJSON_Expecter) Count ¶ added in v1.15.0
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 ¶ added in v1.15.0
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(testing.AssertableJSON)
func (*AssertableJSON_Expecter) First ¶ added in v1.15.0
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(testing.AssertableJSON)
func (*AssertableJSON_Expecter) Has ¶ added in v1.15.0
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 ¶ added in v1.15.0
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 ¶ added in v1.15.0
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 ¶ added in v1.15.0
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(testing.AssertableJSON)
func (*AssertableJSON_Expecter) Json ¶ added in v1.15.0
func (_e *AssertableJSON_Expecter) Json() *AssertableJSON_Json_Call
Json is a helper method to define mock.On call
func (*AssertableJSON_Expecter) Missing ¶ added in v1.15.0
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 ¶ added in v1.15.0
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 ¶ added in v1.15.0
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 ¶ added in v1.15.0
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 ¶ added in v1.15.0
AssertableJSON_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'
func (*AssertableJSON_First_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_First_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_First_Call
func (*AssertableJSON_First_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_First_Call) Run(run func(key string, callback func(testing.AssertableJSON))) *AssertableJSON_First_Call
func (*AssertableJSON_First_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_First_Call) RunAndReturn(run func(string, func(testing.AssertableJSON)) testing.AssertableJSON) *AssertableJSON_First_Call
type AssertableJSON_HasAll_Call ¶ added in v1.15.0
AssertableJSON_HasAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAll'
func (*AssertableJSON_HasAll_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_HasAll_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_HasAll_Call
func (*AssertableJSON_HasAll_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_HasAll_Call) Run(run func(keys []string)) *AssertableJSON_HasAll_Call
func (*AssertableJSON_HasAll_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_HasAll_Call) RunAndReturn(run func([]string) testing.AssertableJSON) *AssertableJSON_HasAll_Call
type AssertableJSON_HasAny_Call ¶ added in v1.15.0
AssertableJSON_HasAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAny'
func (*AssertableJSON_HasAny_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_HasAny_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_HasAny_Call
func (*AssertableJSON_HasAny_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_HasAny_Call) Run(run func(keys []string)) *AssertableJSON_HasAny_Call
func (*AssertableJSON_HasAny_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_HasAny_Call) RunAndReturn(run func([]string) testing.AssertableJSON) *AssertableJSON_HasAny_Call
type AssertableJSON_HasWithScope_Call ¶ added in v1.15.0
AssertableJSON_HasWithScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasWithScope'
func (*AssertableJSON_HasWithScope_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_HasWithScope_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_HasWithScope_Call
func (*AssertableJSON_HasWithScope_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_HasWithScope_Call) Run(run func(key string, length int, callback func(testing.AssertableJSON))) *AssertableJSON_HasWithScope_Call
func (*AssertableJSON_HasWithScope_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_HasWithScope_Call) RunAndReturn(run func(string, int, func(testing.AssertableJSON)) testing.AssertableJSON) *AssertableJSON_HasWithScope_Call
type AssertableJSON_Has_Call ¶ added in v1.15.0
AssertableJSON_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*AssertableJSON_Has_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Has_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Has_Call
func (*AssertableJSON_Has_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Has_Call) Run(run func(key string)) *AssertableJSON_Has_Call
func (*AssertableJSON_Has_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Has_Call) RunAndReturn(run func(string) testing.AssertableJSON) *AssertableJSON_Has_Call
type AssertableJSON_Json_Call ¶ added in v1.15.0
AssertableJSON_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'
func (*AssertableJSON_Json_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Json_Call) Return(_a0 map[string]interface{}) *AssertableJSON_Json_Call
func (*AssertableJSON_Json_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Json_Call) Run(run func()) *AssertableJSON_Json_Call
func (*AssertableJSON_Json_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Json_Call) RunAndReturn(run func() map[string]interface{}) *AssertableJSON_Json_Call
type AssertableJSON_MissingAll_Call ¶ added in v1.15.0
AssertableJSON_MissingAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MissingAll'
func (*AssertableJSON_MissingAll_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_MissingAll_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_MissingAll_Call
func (*AssertableJSON_MissingAll_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_MissingAll_Call) Run(run func(keys []string)) *AssertableJSON_MissingAll_Call
func (*AssertableJSON_MissingAll_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_MissingAll_Call) RunAndReturn(run func([]string) testing.AssertableJSON) *AssertableJSON_MissingAll_Call
type AssertableJSON_Missing_Call ¶ added in v1.15.0
AssertableJSON_Missing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Missing'
func (*AssertableJSON_Missing_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Missing_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Missing_Call
func (*AssertableJSON_Missing_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Missing_Call) Run(run func(key string)) *AssertableJSON_Missing_Call
func (*AssertableJSON_Missing_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Missing_Call) RunAndReturn(run func(string) testing.AssertableJSON) *AssertableJSON_Missing_Call
type AssertableJSON_WhereNot_Call ¶ added in v1.15.0
AssertableJSON_WhereNot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNot'
func (*AssertableJSON_WhereNot_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_WhereNot_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_WhereNot_Call
func (*AssertableJSON_WhereNot_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_WhereNot_Call) Run(run func(key string, value interface{})) *AssertableJSON_WhereNot_Call
func (*AssertableJSON_WhereNot_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_WhereNot_Call) RunAndReturn(run func(string, interface{}) testing.AssertableJSON) *AssertableJSON_WhereNot_Call
type AssertableJSON_Where_Call ¶ added in v1.15.0
AssertableJSON_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'
func (*AssertableJSON_Where_Call) Return ¶ added in v1.15.0
func (_c *AssertableJSON_Where_Call) Return(_a0 testing.AssertableJSON) *AssertableJSON_Where_Call
func (*AssertableJSON_Where_Call) Run ¶ added in v1.15.0
func (_c *AssertableJSON_Where_Call) Run(run func(key string, value interface{})) *AssertableJSON_Where_Call
func (*AssertableJSON_Where_Call) RunAndReturn ¶ added in v1.15.0
func (_c *AssertableJSON_Where_Call) RunAndReturn(run func(string, interface{}) testing.AssertableJSON) *AssertableJSON_Where_Call
type Database ¶
Database is an autogenerated mock type for the Database type
func NewDatabase ¶
NewDatabase creates a new instance of Database. 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 (*Database) Config ¶
func (_m *Database) Config() testing.DatabaseConfig
Config provides a mock function with no fields
func (*Database) Database ¶ added in v1.15.0
func (_m *Database) Database(name string) (testing.DatabaseDriver, error)
Database provides a mock function with given fields: name
func (*Database) EXPECT ¶
func (_m *Database) EXPECT() *Database_Expecter
type DatabaseDriver ¶
DatabaseDriver is an autogenerated mock type for the DatabaseDriver type
func NewDatabaseDriver ¶
func NewDatabaseDriver(t interface { mock.TestingT Cleanup(func()) }) *DatabaseDriver
NewDatabaseDriver creates a new instance of DatabaseDriver. 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 (*DatabaseDriver) Build ¶
func (_m *DatabaseDriver) Build() error
Build provides a mock function with no fields
func (*DatabaseDriver) Config ¶
func (_m *DatabaseDriver) Config() testing.DatabaseConfig
Config provides a mock function with no fields
func (*DatabaseDriver) Database ¶ added in v1.15.0
func (_m *DatabaseDriver) Database(name string) (testing.DatabaseDriver, error)
Database provides a mock function with given fields: name
func (*DatabaseDriver) Driver ¶ added in v1.15.0
func (_m *DatabaseDriver) Driver() database.Driver
Driver provides a mock function with no fields
func (*DatabaseDriver) EXPECT ¶
func (_m *DatabaseDriver) EXPECT() *DatabaseDriver_Expecter
func (*DatabaseDriver) Fresh ¶
func (_m *DatabaseDriver) Fresh() error
Fresh provides a mock function with no fields
func (*DatabaseDriver) Image ¶
func (_m *DatabaseDriver) Image(image testing.Image)
Image provides a mock function with given fields: image
func (*DatabaseDriver) Ready ¶ added in v1.15.0
func (_m *DatabaseDriver) Ready() error
Ready provides a mock function with no fields
func (*DatabaseDriver) Shutdown ¶ added in v1.15.0
func (_m *DatabaseDriver) Shutdown() error
Shutdown provides a mock function with no fields
type DatabaseDriver_Build_Call ¶
DatabaseDriver_Build_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Build'
func (*DatabaseDriver_Build_Call) Return ¶
func (_c *DatabaseDriver_Build_Call) Return(_a0 error) *DatabaseDriver_Build_Call
func (*DatabaseDriver_Build_Call) Run ¶
func (_c *DatabaseDriver_Build_Call) Run(run func()) *DatabaseDriver_Build_Call
func (*DatabaseDriver_Build_Call) RunAndReturn ¶
func (_c *DatabaseDriver_Build_Call) RunAndReturn(run func() error) *DatabaseDriver_Build_Call
type DatabaseDriver_Config_Call ¶
DatabaseDriver_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*DatabaseDriver_Config_Call) Return ¶
func (_c *DatabaseDriver_Config_Call) Return(_a0 testing.DatabaseConfig) *DatabaseDriver_Config_Call
func (*DatabaseDriver_Config_Call) Run ¶
func (_c *DatabaseDriver_Config_Call) Run(run func()) *DatabaseDriver_Config_Call
func (*DatabaseDriver_Config_Call) RunAndReturn ¶
func (_c *DatabaseDriver_Config_Call) RunAndReturn(run func() testing.DatabaseConfig) *DatabaseDriver_Config_Call
type DatabaseDriver_Database_Call ¶ added in v1.15.0
DatabaseDriver_Database_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Database'
func (*DatabaseDriver_Database_Call) Return ¶ added in v1.15.0
func (_c *DatabaseDriver_Database_Call) Return(_a0 testing.DatabaseDriver, _a1 error) *DatabaseDriver_Database_Call
func (*DatabaseDriver_Database_Call) Run ¶ added in v1.15.0
func (_c *DatabaseDriver_Database_Call) Run(run func(name string)) *DatabaseDriver_Database_Call
func (*DatabaseDriver_Database_Call) RunAndReturn ¶ added in v1.15.0
func (_c *DatabaseDriver_Database_Call) RunAndReturn(run func(string) (testing.DatabaseDriver, error)) *DatabaseDriver_Database_Call
type DatabaseDriver_Driver_Call ¶ added in v1.15.0
DatabaseDriver_Driver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Driver'
func (*DatabaseDriver_Driver_Call) Return ¶ added in v1.15.0
func (_c *DatabaseDriver_Driver_Call) Return(_a0 database.Driver) *DatabaseDriver_Driver_Call
func (*DatabaseDriver_Driver_Call) Run ¶ added in v1.15.0
func (_c *DatabaseDriver_Driver_Call) Run(run func()) *DatabaseDriver_Driver_Call
func (*DatabaseDriver_Driver_Call) RunAndReturn ¶ added in v1.15.0
func (_c *DatabaseDriver_Driver_Call) RunAndReturn(run func() database.Driver) *DatabaseDriver_Driver_Call
type DatabaseDriver_Expecter ¶
type DatabaseDriver_Expecter struct {
// contains filtered or unexported fields
}
func (*DatabaseDriver_Expecter) Build ¶
func (_e *DatabaseDriver_Expecter) Build() *DatabaseDriver_Build_Call
Build is a helper method to define mock.On call
func (*DatabaseDriver_Expecter) Config ¶
func (_e *DatabaseDriver_Expecter) Config() *DatabaseDriver_Config_Call
Config is a helper method to define mock.On call
func (*DatabaseDriver_Expecter) Database ¶ added in v1.15.0
func (_e *DatabaseDriver_Expecter) Database(name interface{}) *DatabaseDriver_Database_Call
Database is a helper method to define mock.On call
- name string
func (*DatabaseDriver_Expecter) Driver ¶ added in v1.15.0
func (_e *DatabaseDriver_Expecter) Driver() *DatabaseDriver_Driver_Call
Driver is a helper method to define mock.On call
func (*DatabaseDriver_Expecter) Fresh ¶
func (_e *DatabaseDriver_Expecter) Fresh() *DatabaseDriver_Fresh_Call
Fresh is a helper method to define mock.On call
func (*DatabaseDriver_Expecter) Image ¶
func (_e *DatabaseDriver_Expecter) Image(image interface{}) *DatabaseDriver_Image_Call
Image is a helper method to define mock.On call
- image testing.Image
func (*DatabaseDriver_Expecter) Ready ¶ added in v1.15.0
func (_e *DatabaseDriver_Expecter) Ready() *DatabaseDriver_Ready_Call
Ready is a helper method to define mock.On call
func (*DatabaseDriver_Expecter) Shutdown ¶ added in v1.15.0
func (_e *DatabaseDriver_Expecter) Shutdown() *DatabaseDriver_Shutdown_Call
Shutdown is a helper method to define mock.On call
type DatabaseDriver_Fresh_Call ¶
DatabaseDriver_Fresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fresh'
func (*DatabaseDriver_Fresh_Call) Return ¶
func (_c *DatabaseDriver_Fresh_Call) Return(_a0 error) *DatabaseDriver_Fresh_Call
func (*DatabaseDriver_Fresh_Call) Run ¶
func (_c *DatabaseDriver_Fresh_Call) Run(run func()) *DatabaseDriver_Fresh_Call
func (*DatabaseDriver_Fresh_Call) RunAndReturn ¶
func (_c *DatabaseDriver_Fresh_Call) RunAndReturn(run func() error) *DatabaseDriver_Fresh_Call
type DatabaseDriver_Image_Call ¶
DatabaseDriver_Image_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Image'
func (*DatabaseDriver_Image_Call) Return ¶
func (_c *DatabaseDriver_Image_Call) Return() *DatabaseDriver_Image_Call
func (*DatabaseDriver_Image_Call) Run ¶
func (_c *DatabaseDriver_Image_Call) Run(run func(image testing.Image)) *DatabaseDriver_Image_Call
func (*DatabaseDriver_Image_Call) RunAndReturn ¶
func (_c *DatabaseDriver_Image_Call) RunAndReturn(run func(testing.Image)) *DatabaseDriver_Image_Call
type DatabaseDriver_Ready_Call ¶ added in v1.15.0
DatabaseDriver_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*DatabaseDriver_Ready_Call) Return ¶ added in v1.15.0
func (_c *DatabaseDriver_Ready_Call) Return(_a0 error) *DatabaseDriver_Ready_Call
func (*DatabaseDriver_Ready_Call) Run ¶ added in v1.15.0
func (_c *DatabaseDriver_Ready_Call) Run(run func()) *DatabaseDriver_Ready_Call
func (*DatabaseDriver_Ready_Call) RunAndReturn ¶ added in v1.15.0
func (_c *DatabaseDriver_Ready_Call) RunAndReturn(run func() error) *DatabaseDriver_Ready_Call
type DatabaseDriver_Shutdown_Call ¶ added in v1.15.0
DatabaseDriver_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*DatabaseDriver_Shutdown_Call) Return ¶ added in v1.15.0
func (_c *DatabaseDriver_Shutdown_Call) Return(_a0 error) *DatabaseDriver_Shutdown_Call
func (*DatabaseDriver_Shutdown_Call) Run ¶ added in v1.15.0
func (_c *DatabaseDriver_Shutdown_Call) Run(run func()) *DatabaseDriver_Shutdown_Call
func (*DatabaseDriver_Shutdown_Call) RunAndReturn ¶ added in v1.15.0
func (_c *DatabaseDriver_Shutdown_Call) RunAndReturn(run func() error) *DatabaseDriver_Shutdown_Call
type Database_Build_Call ¶
Database_Build_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Build'
func (*Database_Build_Call) Return ¶
func (_c *Database_Build_Call) Return(_a0 error) *Database_Build_Call
func (*Database_Build_Call) Run ¶
func (_c *Database_Build_Call) Run(run func()) *Database_Build_Call
func (*Database_Build_Call) RunAndReturn ¶
func (_c *Database_Build_Call) RunAndReturn(run func() error) *Database_Build_Call
type Database_Config_Call ¶
Database_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*Database_Config_Call) Return ¶
func (_c *Database_Config_Call) Return(_a0 testing.DatabaseConfig) *Database_Config_Call
func (*Database_Config_Call) Run ¶
func (_c *Database_Config_Call) Run(run func()) *Database_Config_Call
func (*Database_Config_Call) RunAndReturn ¶
func (_c *Database_Config_Call) RunAndReturn(run func() testing.DatabaseConfig) *Database_Config_Call
type Database_Database_Call ¶ added in v1.15.0
Database_Database_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Database'
func (*Database_Database_Call) Return ¶ added in v1.15.0
func (_c *Database_Database_Call) Return(_a0 testing.DatabaseDriver, _a1 error) *Database_Database_Call
func (*Database_Database_Call) Run ¶ added in v1.15.0
func (_c *Database_Database_Call) Run(run func(name string)) *Database_Database_Call
func (*Database_Database_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Database_Call) RunAndReturn(run func(string) (testing.DatabaseDriver, error)) *Database_Database_Call
type Database_Driver_Call ¶ added in v1.15.0
Database_Driver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Driver'
func (*Database_Driver_Call) Return ¶ added in v1.15.0
func (_c *Database_Driver_Call) Return(_a0 database.Driver) *Database_Driver_Call
func (*Database_Driver_Call) Run ¶ added in v1.15.0
func (_c *Database_Driver_Call) Run(run func()) *Database_Driver_Call
func (*Database_Driver_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Driver_Call) RunAndReturn(run func() database.Driver) *Database_Driver_Call
type Database_Expecter ¶
type Database_Expecter struct {
// contains filtered or unexported fields
}
func (*Database_Expecter) Build ¶
func (_e *Database_Expecter) Build() *Database_Build_Call
Build is a helper method to define mock.On call
func (*Database_Expecter) Config ¶
func (_e *Database_Expecter) Config() *Database_Config_Call
Config is a helper method to define mock.On call
func (*Database_Expecter) Database ¶ added in v1.15.0
func (_e *Database_Expecter) Database(name interface{}) *Database_Database_Call
Database is a helper method to define mock.On call
- name string
func (*Database_Expecter) Driver ¶ added in v1.15.0
func (_e *Database_Expecter) Driver() *Database_Driver_Call
Driver is a helper method to define mock.On call
func (*Database_Expecter) Fresh ¶ added in v1.15.0
func (_e *Database_Expecter) Fresh() *Database_Fresh_Call
Fresh is a helper method to define mock.On call
func (*Database_Expecter) Image ¶
func (_e *Database_Expecter) Image(image interface{}) *Database_Image_Call
Image is a helper method to define mock.On call
- image testing.Image
func (*Database_Expecter) Migrate ¶ added in v1.15.0
func (_e *Database_Expecter) Migrate() *Database_Migrate_Call
Migrate is a helper method to define mock.On call
func (*Database_Expecter) Ready ¶ added in v1.15.0
func (_e *Database_Expecter) Ready() *Database_Ready_Call
Ready is a helper method to define mock.On call
func (*Database_Expecter) Seed ¶
func (_e *Database_Expecter) Seed(seeders ...interface{}) *Database_Seed_Call
Seed is a helper method to define mock.On call
- seeders ...seeder.Seeder
func (*Database_Expecter) Shutdown ¶ added in v1.15.0
func (_e *Database_Expecter) Shutdown() *Database_Shutdown_Call
Shutdown is a helper method to define mock.On call
type Database_Fresh_Call ¶ added in v1.15.0
Database_Fresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fresh'
func (*Database_Fresh_Call) Return ¶ added in v1.15.0
func (_c *Database_Fresh_Call) Return(_a0 error) *Database_Fresh_Call
func (*Database_Fresh_Call) Run ¶ added in v1.15.0
func (_c *Database_Fresh_Call) Run(run func()) *Database_Fresh_Call
func (*Database_Fresh_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Fresh_Call) RunAndReturn(run func() error) *Database_Fresh_Call
type Database_Image_Call ¶
Database_Image_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Image'
func (*Database_Image_Call) Return ¶
func (_c *Database_Image_Call) Return() *Database_Image_Call
func (*Database_Image_Call) Run ¶
func (_c *Database_Image_Call) Run(run func(image testing.Image)) *Database_Image_Call
func (*Database_Image_Call) RunAndReturn ¶
func (_c *Database_Image_Call) RunAndReturn(run func(testing.Image)) *Database_Image_Call
type Database_Migrate_Call ¶ added in v1.15.0
Database_Migrate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Migrate'
func (*Database_Migrate_Call) Return ¶ added in v1.15.0
func (_c *Database_Migrate_Call) Return(_a0 error) *Database_Migrate_Call
func (*Database_Migrate_Call) Run ¶ added in v1.15.0
func (_c *Database_Migrate_Call) Run(run func()) *Database_Migrate_Call
func (*Database_Migrate_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Migrate_Call) RunAndReturn(run func() error) *Database_Migrate_Call
type Database_Ready_Call ¶ added in v1.15.0
Database_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*Database_Ready_Call) Return ¶ added in v1.15.0
func (_c *Database_Ready_Call) Return(_a0 error) *Database_Ready_Call
func (*Database_Ready_Call) Run ¶ added in v1.15.0
func (_c *Database_Ready_Call) Run(run func()) *Database_Ready_Call
func (*Database_Ready_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Ready_Call) RunAndReturn(run func() error) *Database_Ready_Call
type Database_Seed_Call ¶
Database_Seed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Seed'
func (*Database_Seed_Call) Return ¶
func (_c *Database_Seed_Call) Return(_a0 error) *Database_Seed_Call
func (*Database_Seed_Call) Run ¶
func (_c *Database_Seed_Call) Run(run func(seeders ...seeder.Seeder)) *Database_Seed_Call
func (*Database_Seed_Call) RunAndReturn ¶
func (_c *Database_Seed_Call) RunAndReturn(run func(...seeder.Seeder) error) *Database_Seed_Call
type Database_Shutdown_Call ¶ added in v1.15.0
Database_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*Database_Shutdown_Call) Return ¶ added in v1.15.0
func (_c *Database_Shutdown_Call) Return(_a0 error) *Database_Shutdown_Call
func (*Database_Shutdown_Call) Run ¶ added in v1.15.0
func (_c *Database_Shutdown_Call) Run(run func()) *Database_Shutdown_Call
func (*Database_Shutdown_Call) RunAndReturn ¶ added in v1.15.0
func (_c *Database_Shutdown_Call) RunAndReturn(run func() error) *Database_Shutdown_Call
type Docker ¶
Docker is an autogenerated mock type for the Docker type
func NewDocker ¶
NewDocker creates a new instance of Docker. 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 (*Docker) EXPECT ¶
func (_m *Docker) EXPECT() *Docker_Expecter
type Docker_Database_Call ¶
Docker_Database_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Database'
func (*Docker_Database_Call) Return ¶
func (_c *Docker_Database_Call) Return(_a0 testing.Database, _a1 error) *Docker_Database_Call
func (*Docker_Database_Call) Run ¶
func (_c *Docker_Database_Call) Run(run func(connection ...string)) *Docker_Database_Call
func (*Docker_Database_Call) RunAndReturn ¶
func (_c *Docker_Database_Call) RunAndReturn(run func(...string) (testing.Database, error)) *Docker_Database_Call
type Docker_Expecter ¶
type Docker_Expecter struct {
// contains filtered or unexported fields
}
func (*Docker_Expecter) Database ¶
func (_e *Docker_Expecter) Database(connection ...interface{}) *Docker_Database_Call
Database is a helper method to define mock.On call
- connection ...string
type TestRequest ¶ added in v1.15.0
TestRequest is an autogenerated mock type for the TestRequest type
func NewTestRequest ¶ added in v1.15.0
func NewTestRequest(t interface { mock.TestingT Cleanup(func()) }) *TestRequest
NewTestRequest creates a new instance of TestRequest. 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 (*TestRequest) Bind ¶ added in v1.15.0
func (_m *TestRequest) Bind(value interface{}) testing.TestRequest
Bind provides a mock function with given fields: value
func (*TestRequest) Delete ¶ added in v1.15.0
func (_m *TestRequest) Delete(uri string, body io.Reader) (testing.TestResponse, error)
Delete provides a mock function with given fields: uri, body
func (*TestRequest) EXPECT ¶ added in v1.15.0
func (_m *TestRequest) EXPECT() *TestRequest_Expecter
func (*TestRequest) FlushHeaders ¶ added in v1.15.0
func (_m *TestRequest) FlushHeaders() testing.TestRequest
FlushHeaders provides a mock function with no fields
func (*TestRequest) Get ¶ added in v1.15.0
func (_m *TestRequest) Get(uri string) (testing.TestResponse, error)
Get provides a mock function with given fields: uri
func (*TestRequest) Head ¶ added in v1.15.0
func (_m *TestRequest) Head(uri string) (testing.TestResponse, error)
Head provides a mock function with given fields: uri
func (*TestRequest) Options ¶ added in v1.15.0
func (_m *TestRequest) Options(uri string) (testing.TestResponse, error)
Options provides a mock function with given fields: uri
func (*TestRequest) Patch ¶ added in v1.15.0
func (_m *TestRequest) Patch(uri string, body io.Reader) (testing.TestResponse, error)
Patch provides a mock function with given fields: uri, body
func (*TestRequest) Post ¶ added in v1.15.0
func (_m *TestRequest) Post(uri string, body io.Reader) (testing.TestResponse, error)
Post provides a mock function with given fields: uri, body
func (*TestRequest) Put ¶ added in v1.15.0
func (_m *TestRequest) Put(uri string, body io.Reader) (testing.TestResponse, error)
Put provides a mock function with given fields: uri, body
func (*TestRequest) WithBasicAuth ¶ added in v1.15.0
func (_m *TestRequest) WithBasicAuth(username string, password string) testing.TestRequest
WithBasicAuth provides a mock function with given fields: username, password
func (*TestRequest) WithContext ¶ added in v1.15.0
func (_m *TestRequest) WithContext(ctx context.Context) testing.TestRequest
WithContext provides a mock function with given fields: ctx
func (*TestRequest) WithCookie ¶ added in v1.15.0
func (_m *TestRequest) WithCookie(key string, value string) testing.TestRequest
WithCookie provides a mock function with given fields: key, value
func (*TestRequest) WithCookies ¶ added in v1.15.0
func (_m *TestRequest) WithCookies(cookies map[string]string) testing.TestRequest
WithCookies provides a mock function with given fields: cookies
func (*TestRequest) WithHeader ¶ added in v1.15.0
func (_m *TestRequest) WithHeader(key string, value string) testing.TestRequest
WithHeader provides a mock function with given fields: key, value
func (*TestRequest) WithHeaders ¶ added in v1.15.0
func (_m *TestRequest) WithHeaders(headers map[string]string) testing.TestRequest
WithHeaders provides a mock function with given fields: headers
func (*TestRequest) WithSession ¶ added in v1.15.0
func (_m *TestRequest) WithSession(attributes map[string]interface{}) testing.TestRequest
WithSession provides a mock function with given fields: attributes
func (*TestRequest) WithToken ¶ added in v1.15.0
func (_m *TestRequest) WithToken(token string, ttype ...string) testing.TestRequest
WithToken provides a mock function with given fields: token, ttype
func (*TestRequest) WithoutHeader ¶ added in v1.15.0
func (_m *TestRequest) WithoutHeader(key string) testing.TestRequest
WithoutHeader provides a mock function with given fields: key
func (*TestRequest) WithoutToken ¶ added in v1.15.0
func (_m *TestRequest) WithoutToken() testing.TestRequest
WithoutToken provides a mock function with no fields
type TestRequest_Bind_Call ¶ added in v1.15.0
TestRequest_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'
func (*TestRequest_Bind_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Bind_Call) Return(_a0 testing.TestRequest) *TestRequest_Bind_Call
func (*TestRequest_Bind_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Bind_Call) Run(run func(value interface{})) *TestRequest_Bind_Call
func (*TestRequest_Bind_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Bind_Call) RunAndReturn(run func(interface{}) testing.TestRequest) *TestRequest_Bind_Call
type TestRequest_Delete_Call ¶ added in v1.15.0
TestRequest_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*TestRequest_Delete_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Delete_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Delete_Call
func (*TestRequest_Delete_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Delete_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Delete_Call
func (*TestRequest_Delete_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Delete_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Delete_Call
type TestRequest_Expecter ¶ added in v1.15.0
type TestRequest_Expecter struct {
// contains filtered or unexported fields
}
func (*TestRequest_Expecter) Bind ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Bind(value interface{}) *TestRequest_Bind_Call
Bind is a helper method to define mock.On call
- value interface{}
func (*TestRequest_Expecter) Delete ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Delete(uri interface{}, body interface{}) *TestRequest_Delete_Call
Delete is a helper method to define mock.On call
- uri string
- body io.Reader
func (*TestRequest_Expecter) FlushHeaders ¶ added in v1.15.0
func (_e *TestRequest_Expecter) FlushHeaders() *TestRequest_FlushHeaders_Call
FlushHeaders is a helper method to define mock.On call
func (*TestRequest_Expecter) Get ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Get(uri interface{}) *TestRequest_Get_Call
Get is a helper method to define mock.On call
- uri string
func (*TestRequest_Expecter) Head ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Head(uri interface{}) *TestRequest_Head_Call
Head is a helper method to define mock.On call
- uri string
func (*TestRequest_Expecter) Options ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Options(uri interface{}) *TestRequest_Options_Call
Options is a helper method to define mock.On call
- uri string
func (*TestRequest_Expecter) Patch ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Patch(uri interface{}, body interface{}) *TestRequest_Patch_Call
Patch is a helper method to define mock.On call
- uri string
- body io.Reader
func (*TestRequest_Expecter) Post ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Post(uri interface{}, body interface{}) *TestRequest_Post_Call
Post is a helper method to define mock.On call
- uri string
- body io.Reader
func (*TestRequest_Expecter) Put ¶ added in v1.15.0
func (_e *TestRequest_Expecter) Put(uri interface{}, body interface{}) *TestRequest_Put_Call
Put is a helper method to define mock.On call
- uri string
- body io.Reader
func (*TestRequest_Expecter) WithBasicAuth ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithBasicAuth(username interface{}, password interface{}) *TestRequest_WithBasicAuth_Call
WithBasicAuth is a helper method to define mock.On call
- username string
- password string
func (*TestRequest_Expecter) WithContext ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithContext(ctx interface{}) *TestRequest_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
func (*TestRequest_Expecter) WithCookie ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithCookie(key interface{}, value interface{}) *TestRequest_WithCookie_Call
WithCookie is a helper method to define mock.On call
- key string
- value string
func (*TestRequest_Expecter) WithCookies ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithCookies(cookies interface{}) *TestRequest_WithCookies_Call
WithCookies is a helper method to define mock.On call
- cookies map[string]string
func (*TestRequest_Expecter) WithHeader ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithHeader(key interface{}, value interface{}) *TestRequest_WithHeader_Call
WithHeader is a helper method to define mock.On call
- key string
- value string
func (*TestRequest_Expecter) WithHeaders ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithHeaders(headers interface{}) *TestRequest_WithHeaders_Call
WithHeaders is a helper method to define mock.On call
- headers map[string]string
func (*TestRequest_Expecter) WithSession ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithSession(attributes interface{}) *TestRequest_WithSession_Call
WithSession is a helper method to define mock.On call
- attributes map[string]interface{}
func (*TestRequest_Expecter) WithToken ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithToken(token interface{}, ttype ...interface{}) *TestRequest_WithToken_Call
WithToken is a helper method to define mock.On call
- token string
- ttype ...string
func (*TestRequest_Expecter) WithoutHeader ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithoutHeader(key interface{}) *TestRequest_WithoutHeader_Call
WithoutHeader is a helper method to define mock.On call
- key string
func (*TestRequest_Expecter) WithoutToken ¶ added in v1.15.0
func (_e *TestRequest_Expecter) WithoutToken() *TestRequest_WithoutToken_Call
WithoutToken is a helper method to define mock.On call
type TestRequest_FlushHeaders_Call ¶ added in v1.15.0
TestRequest_FlushHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlushHeaders'
func (*TestRequest_FlushHeaders_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_FlushHeaders_Call) Return(_a0 testing.TestRequest) *TestRequest_FlushHeaders_Call
func (*TestRequest_FlushHeaders_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_FlushHeaders_Call) Run(run func()) *TestRequest_FlushHeaders_Call
func (*TestRequest_FlushHeaders_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_FlushHeaders_Call) RunAndReturn(run func() testing.TestRequest) *TestRequest_FlushHeaders_Call
type TestRequest_Get_Call ¶ added in v1.15.0
TestRequest_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*TestRequest_Get_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Get_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Get_Call
func (*TestRequest_Get_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Get_Call) Run(run func(uri string)) *TestRequest_Get_Call
func (*TestRequest_Get_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Get_Call) RunAndReturn(run func(string) (testing.TestResponse, error)) *TestRequest_Get_Call
type TestRequest_Head_Call ¶ added in v1.15.0
TestRequest_Head_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Head'
func (*TestRequest_Head_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Head_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Head_Call
func (*TestRequest_Head_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Head_Call) Run(run func(uri string)) *TestRequest_Head_Call
func (*TestRequest_Head_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Head_Call) RunAndReturn(run func(string) (testing.TestResponse, error)) *TestRequest_Head_Call
type TestRequest_Options_Call ¶ added in v1.15.0
TestRequest_Options_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Options'
func (*TestRequest_Options_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Options_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Options_Call
func (*TestRequest_Options_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Options_Call) Run(run func(uri string)) *TestRequest_Options_Call
func (*TestRequest_Options_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Options_Call) RunAndReturn(run func(string) (testing.TestResponse, error)) *TestRequest_Options_Call
type TestRequest_Patch_Call ¶ added in v1.15.0
TestRequest_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*TestRequest_Patch_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Patch_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Patch_Call
func (*TestRequest_Patch_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Patch_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Patch_Call
func (*TestRequest_Patch_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Patch_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Patch_Call
type TestRequest_Post_Call ¶ added in v1.15.0
TestRequest_Post_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Post'
func (*TestRequest_Post_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Post_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Post_Call
func (*TestRequest_Post_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Post_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Post_Call
func (*TestRequest_Post_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Post_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Post_Call
type TestRequest_Put_Call ¶ added in v1.15.0
TestRequest_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*TestRequest_Put_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_Put_Call) Return(_a0 testing.TestResponse, _a1 error) *TestRequest_Put_Call
func (*TestRequest_Put_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_Put_Call) Run(run func(uri string, body io.Reader)) *TestRequest_Put_Call
func (*TestRequest_Put_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_Put_Call) RunAndReturn(run func(string, io.Reader) (testing.TestResponse, error)) *TestRequest_Put_Call
type TestRequest_WithBasicAuth_Call ¶ added in v1.15.0
TestRequest_WithBasicAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithBasicAuth'
func (*TestRequest_WithBasicAuth_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithBasicAuth_Call) Return(_a0 testing.TestRequest) *TestRequest_WithBasicAuth_Call
func (*TestRequest_WithBasicAuth_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithBasicAuth_Call) Run(run func(username string, password string)) *TestRequest_WithBasicAuth_Call
func (*TestRequest_WithBasicAuth_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithBasicAuth_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithBasicAuth_Call
type TestRequest_WithContext_Call ¶ added in v1.15.0
TestRequest_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*TestRequest_WithContext_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithContext_Call) Return(_a0 testing.TestRequest) *TestRequest_WithContext_Call
func (*TestRequest_WithContext_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithContext_Call) Run(run func(ctx context.Context)) *TestRequest_WithContext_Call
func (*TestRequest_WithContext_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithContext_Call) RunAndReturn(run func(context.Context) testing.TestRequest) *TestRequest_WithContext_Call
type TestRequest_WithCookie_Call ¶ added in v1.15.0
TestRequest_WithCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookie'
func (*TestRequest_WithCookie_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithCookie_Call) Return(_a0 testing.TestRequest) *TestRequest_WithCookie_Call
func (*TestRequest_WithCookie_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithCookie_Call) Run(run func(key string, value string)) *TestRequest_WithCookie_Call
func (*TestRequest_WithCookie_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithCookie_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithCookie_Call
type TestRequest_WithCookies_Call ¶ added in v1.15.0
TestRequest_WithCookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookies'
func (*TestRequest_WithCookies_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithCookies_Call) Return(_a0 testing.TestRequest) *TestRequest_WithCookies_Call
func (*TestRequest_WithCookies_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithCookies_Call) Run(run func(cookies map[string]string)) *TestRequest_WithCookies_Call
func (*TestRequest_WithCookies_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithCookies_Call) RunAndReturn(run func(map[string]string) testing.TestRequest) *TestRequest_WithCookies_Call
type TestRequest_WithHeader_Call ¶ added in v1.15.0
TestRequest_WithHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeader'
func (*TestRequest_WithHeader_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithHeader_Call) Return(_a0 testing.TestRequest) *TestRequest_WithHeader_Call
func (*TestRequest_WithHeader_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithHeader_Call) Run(run func(key string, value string)) *TestRequest_WithHeader_Call
func (*TestRequest_WithHeader_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithHeader_Call) RunAndReturn(run func(string, string) testing.TestRequest) *TestRequest_WithHeader_Call
type TestRequest_WithHeaders_Call ¶ added in v1.15.0
TestRequest_WithHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeaders'
func (*TestRequest_WithHeaders_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithHeaders_Call) Return(_a0 testing.TestRequest) *TestRequest_WithHeaders_Call
func (*TestRequest_WithHeaders_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithHeaders_Call) Run(run func(headers map[string]string)) *TestRequest_WithHeaders_Call
func (*TestRequest_WithHeaders_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithHeaders_Call) RunAndReturn(run func(map[string]string) testing.TestRequest) *TestRequest_WithHeaders_Call
type TestRequest_WithSession_Call ¶ added in v1.15.0
TestRequest_WithSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSession'
func (*TestRequest_WithSession_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithSession_Call) Return(_a0 testing.TestRequest) *TestRequest_WithSession_Call
func (*TestRequest_WithSession_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithSession_Call) Run(run func(attributes map[string]interface{})) *TestRequest_WithSession_Call
func (*TestRequest_WithSession_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithSession_Call) RunAndReturn(run func(map[string]interface{}) testing.TestRequest) *TestRequest_WithSession_Call
type TestRequest_WithToken_Call ¶ added in v1.15.0
TestRequest_WithToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithToken'
func (*TestRequest_WithToken_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithToken_Call) Return(_a0 testing.TestRequest) *TestRequest_WithToken_Call
func (*TestRequest_WithToken_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithToken_Call) Run(run func(token string, ttype ...string)) *TestRequest_WithToken_Call
func (*TestRequest_WithToken_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithToken_Call) RunAndReturn(run func(string, ...string) testing.TestRequest) *TestRequest_WithToken_Call
type TestRequest_WithoutHeader_Call ¶ added in v1.15.0
TestRequest_WithoutHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutHeader'
func (*TestRequest_WithoutHeader_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithoutHeader_Call) Return(_a0 testing.TestRequest) *TestRequest_WithoutHeader_Call
func (*TestRequest_WithoutHeader_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithoutHeader_Call) Run(run func(key string)) *TestRequest_WithoutHeader_Call
func (*TestRequest_WithoutHeader_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithoutHeader_Call) RunAndReturn(run func(string) testing.TestRequest) *TestRequest_WithoutHeader_Call
type TestRequest_WithoutToken_Call ¶ added in v1.15.0
TestRequest_WithoutToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutToken'
func (*TestRequest_WithoutToken_Call) Return ¶ added in v1.15.0
func (_c *TestRequest_WithoutToken_Call) Return(_a0 testing.TestRequest) *TestRequest_WithoutToken_Call
func (*TestRequest_WithoutToken_Call) Run ¶ added in v1.15.0
func (_c *TestRequest_WithoutToken_Call) Run(run func()) *TestRequest_WithoutToken_Call
func (*TestRequest_WithoutToken_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestRequest_WithoutToken_Call) RunAndReturn(run func() testing.TestRequest) *TestRequest_WithoutToken_Call
type TestResponse ¶ added in v1.15.0
TestResponse is an autogenerated mock type for the TestResponse type
func NewTestResponse ¶ added in v1.15.0
func NewTestResponse(t interface { mock.TestingT Cleanup(func()) }) *TestResponse
NewTestResponse creates a new instance of TestResponse. 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 (*TestResponse) AssertAccepted ¶ added in v1.15.0
func (_m *TestResponse) AssertAccepted() testing.TestResponse
AssertAccepted provides a mock function with no fields
func (*TestResponse) AssertBadRequest ¶ added in v1.15.0
func (_m *TestResponse) AssertBadRequest() testing.TestResponse
AssertBadRequest provides a mock function with no fields
func (*TestResponse) AssertConflict ¶ added in v1.15.0
func (_m *TestResponse) AssertConflict() testing.TestResponse
AssertConflict provides a mock function with no fields
func (*TestResponse) AssertCookie ¶ added in v1.15.0
func (_m *TestResponse) AssertCookie(name string, value string) testing.TestResponse
AssertCookie provides a mock function with given fields: name, value
func (*TestResponse) AssertCookieExpired ¶ added in v1.15.0
func (_m *TestResponse) AssertCookieExpired(_a0 string) testing.TestResponse
AssertCookieExpired provides a mock function with given fields: _a0
func (*TestResponse) AssertCookieMissing ¶ added in v1.15.0
func (_m *TestResponse) AssertCookieMissing(_a0 string) testing.TestResponse
AssertCookieMissing provides a mock function with given fields: _a0
func (*TestResponse) AssertCookieNotExpired ¶ added in v1.15.0
func (_m *TestResponse) AssertCookieNotExpired(_a0 string) testing.TestResponse
AssertCookieNotExpired provides a mock function with given fields: _a0
func (*TestResponse) AssertCreated ¶ added in v1.15.0
func (_m *TestResponse) AssertCreated() testing.TestResponse
AssertCreated provides a mock function with no fields
func (*TestResponse) AssertDontSee ¶ added in v1.15.0
func (_m *TestResponse) AssertDontSee(_a0 []string, _a1 ...bool) testing.TestResponse
AssertDontSee provides a mock function with given fields: _a0, _a1
func (*TestResponse) AssertExactJson ¶ added in v1.15.0
func (_m *TestResponse) AssertExactJson(_a0 map[string]interface{}) testing.TestResponse
AssertExactJson provides a mock function with given fields: _a0
func (*TestResponse) AssertFluentJson ¶ added in v1.15.0
func (_m *TestResponse) AssertFluentJson(_a0 func(testing.AssertableJSON)) testing.TestResponse
AssertFluentJson provides a mock function with given fields: _a0
func (*TestResponse) AssertForbidden ¶ added in v1.15.0
func (_m *TestResponse) AssertForbidden() testing.TestResponse
AssertForbidden provides a mock function with no fields
func (*TestResponse) AssertFound ¶ added in v1.15.0
func (_m *TestResponse) AssertFound() testing.TestResponse
AssertFound provides a mock function with no fields
func (*TestResponse) AssertGone ¶ added in v1.15.0
func (_m *TestResponse) AssertGone() testing.TestResponse
AssertGone provides a mock function with no fields
func (*TestResponse) AssertHeader ¶ added in v1.15.0
func (_m *TestResponse) AssertHeader(headerName string, value string) testing.TestResponse
AssertHeader provides a mock function with given fields: headerName, value
func (*TestResponse) AssertHeaderMissing ¶ added in v1.15.0
func (_m *TestResponse) AssertHeaderMissing(_a0 string) testing.TestResponse
AssertHeaderMissing provides a mock function with given fields: _a0
func (*TestResponse) AssertInternalServerError ¶ added in v1.15.0
func (_m *TestResponse) AssertInternalServerError() testing.TestResponse
AssertInternalServerError provides a mock function with no fields
func (*TestResponse) AssertJson ¶ added in v1.15.0
func (_m *TestResponse) AssertJson(_a0 map[string]interface{}) testing.TestResponse
AssertJson provides a mock function with given fields: _a0
func (*TestResponse) AssertJsonMissing ¶ added in v1.15.0
func (_m *TestResponse) AssertJsonMissing(_a0 map[string]interface{}) testing.TestResponse
AssertJsonMissing provides a mock function with given fields: _a0
func (*TestResponse) AssertMethodNotAllowed ¶ added in v1.15.0
func (_m *TestResponse) AssertMethodNotAllowed() testing.TestResponse
AssertMethodNotAllowed provides a mock function with no fields
func (*TestResponse) AssertMovedPermanently ¶ added in v1.15.0
func (_m *TestResponse) AssertMovedPermanently() testing.TestResponse
AssertMovedPermanently provides a mock function with no fields
func (*TestResponse) AssertNoContent ¶ added in v1.15.0
func (_m *TestResponse) AssertNoContent(status ...int) testing.TestResponse
AssertNoContent provides a mock function with given fields: status
func (*TestResponse) AssertNotAcceptable ¶ added in v1.15.0
func (_m *TestResponse) AssertNotAcceptable() testing.TestResponse
AssertNotAcceptable provides a mock function with no fields
func (*TestResponse) AssertNotFound ¶ added in v1.15.0
func (_m *TestResponse) AssertNotFound() testing.TestResponse
AssertNotFound provides a mock function with no fields
func (*TestResponse) AssertNotModified ¶ added in v1.15.0
func (_m *TestResponse) AssertNotModified() testing.TestResponse
AssertNotModified provides a mock function with no fields
func (*TestResponse) AssertOk ¶ added in v1.15.0
func (_m *TestResponse) AssertOk() testing.TestResponse
AssertOk provides a mock function with no fields
func (*TestResponse) AssertPartialContent ¶ added in v1.15.0
func (_m *TestResponse) AssertPartialContent() testing.TestResponse
AssertPartialContent provides a mock function with no fields
func (*TestResponse) AssertPaymentRequired ¶ added in v1.15.0
func (_m *TestResponse) AssertPaymentRequired() testing.TestResponse
AssertPaymentRequired provides a mock function with no fields
func (*TestResponse) AssertRequestTimeout ¶ added in v1.15.0
func (_m *TestResponse) AssertRequestTimeout() testing.TestResponse
AssertRequestTimeout provides a mock function with no fields
func (*TestResponse) AssertSee ¶ added in v1.15.0
func (_m *TestResponse) AssertSee(_a0 []string, _a1 ...bool) testing.TestResponse
AssertSee provides a mock function with given fields: _a0, _a1
func (*TestResponse) AssertSeeInOrder ¶ added in v1.15.0
func (_m *TestResponse) AssertSeeInOrder(_a0 []string, _a1 ...bool) testing.TestResponse
AssertSeeInOrder provides a mock function with given fields: _a0, _a1
func (*TestResponse) AssertServerError ¶ added in v1.15.0
func (_m *TestResponse) AssertServerError() testing.TestResponse
AssertServerError provides a mock function with no fields
func (*TestResponse) AssertServiceUnavailable ¶ added in v1.15.0
func (_m *TestResponse) AssertServiceUnavailable() testing.TestResponse
AssertServiceUnavailable provides a mock function with no fields
func (*TestResponse) AssertStatus ¶ added in v1.15.0
func (_m *TestResponse) AssertStatus(status int) testing.TestResponse
AssertStatus provides a mock function with given fields: status
func (*TestResponse) AssertSuccessful ¶ added in v1.15.0
func (_m *TestResponse) AssertSuccessful() testing.TestResponse
AssertSuccessful provides a mock function with no fields
func (*TestResponse) AssertTemporaryRedirect ¶ added in v1.15.0
func (_m *TestResponse) AssertTemporaryRedirect() testing.TestResponse
AssertTemporaryRedirect provides a mock function with no fields
func (*TestResponse) AssertTooManyRequests ¶ added in v1.15.0
func (_m *TestResponse) AssertTooManyRequests() testing.TestResponse
AssertTooManyRequests provides a mock function with no fields
func (*TestResponse) AssertUnauthorized ¶ added in v1.15.0
func (_m *TestResponse) AssertUnauthorized() testing.TestResponse
AssertUnauthorized provides a mock function with no fields
func (*TestResponse) AssertUnprocessableEntity ¶ added in v1.15.0
func (_m *TestResponse) AssertUnprocessableEntity() testing.TestResponse
AssertUnprocessableEntity provides a mock function with no fields
func (*TestResponse) AssertUnsupportedMediaType ¶ added in v1.15.0
func (_m *TestResponse) AssertUnsupportedMediaType() testing.TestResponse
AssertUnsupportedMediaType provides a mock function with no fields
func (*TestResponse) Content ¶ added in v1.15.0
func (_m *TestResponse) Content() (string, error)
Content provides a mock function with no fields
func (*TestResponse) Cookie ¶ added in v1.15.0
func (_m *TestResponse) Cookie(name string) *http.Cookie
Cookie provides a mock function with given fields: name
func (*TestResponse) Cookies ¶ added in v1.15.0
func (_m *TestResponse) Cookies() []*http.Cookie
Cookies provides a mock function with no fields
func (*TestResponse) EXPECT ¶ added in v1.15.0
func (_m *TestResponse) EXPECT() *TestResponse_Expecter
func (*TestResponse) Headers ¶ added in v1.15.0
func (_m *TestResponse) Headers() http.Header
Headers provides a mock function with no fields
func (*TestResponse) IsServerError ¶ added in v1.15.0
func (_m *TestResponse) IsServerError() bool
IsServerError provides a mock function with no fields
func (*TestResponse) IsSuccessful ¶ added in v1.15.0
func (_m *TestResponse) IsSuccessful() bool
IsSuccessful provides a mock function with no fields
func (*TestResponse) Json ¶ added in v1.15.0
func (_m *TestResponse) Json() (map[string]interface{}, error)
Json provides a mock function with no fields
func (*TestResponse) Session ¶ added in v1.15.0
func (_m *TestResponse) Session() (map[string]interface{}, error)
Session provides a mock function with no fields
type TestResponse_AssertAccepted_Call ¶ added in v1.15.0
TestResponse_AssertAccepted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertAccepted'
func (*TestResponse_AssertAccepted_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertAccepted_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertAccepted_Call
func (*TestResponse_AssertAccepted_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertAccepted_Call) Run(run func()) *TestResponse_AssertAccepted_Call
func (*TestResponse_AssertAccepted_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertAccepted_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertAccepted_Call
type TestResponse_AssertBadRequest_Call ¶ added in v1.15.0
TestResponse_AssertBadRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertBadRequest'
func (*TestResponse_AssertBadRequest_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertBadRequest_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertBadRequest_Call
func (*TestResponse_AssertBadRequest_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertBadRequest_Call) Run(run func()) *TestResponse_AssertBadRequest_Call
func (*TestResponse_AssertBadRequest_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertBadRequest_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertBadRequest_Call
type TestResponse_AssertConflict_Call ¶ added in v1.15.0
TestResponse_AssertConflict_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertConflict'
func (*TestResponse_AssertConflict_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertConflict_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertConflict_Call
func (*TestResponse_AssertConflict_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertConflict_Call) Run(run func()) *TestResponse_AssertConflict_Call
func (*TestResponse_AssertConflict_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertConflict_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertConflict_Call
type TestResponse_AssertCookieExpired_Call ¶ added in v1.15.0
TestResponse_AssertCookieExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieExpired'
func (*TestResponse_AssertCookieExpired_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieExpired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieExpired_Call
func (*TestResponse_AssertCookieExpired_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieExpired_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieExpired_Call
func (*TestResponse_AssertCookieExpired_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieExpired_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieExpired_Call
type TestResponse_AssertCookieMissing_Call ¶ added in v1.15.0
TestResponse_AssertCookieMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieMissing'
func (*TestResponse_AssertCookieMissing_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieMissing_Call
func (*TestResponse_AssertCookieMissing_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieMissing_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieMissing_Call
func (*TestResponse_AssertCookieMissing_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieMissing_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieMissing_Call
type TestResponse_AssertCookieNotExpired_Call ¶ added in v1.15.0
TestResponse_AssertCookieNotExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieNotExpired'
func (*TestResponse_AssertCookieNotExpired_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieNotExpired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookieNotExpired_Call
func (*TestResponse_AssertCookieNotExpired_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieNotExpired_Call) Run(run func(_a0 string)) *TestResponse_AssertCookieNotExpired_Call
func (*TestResponse_AssertCookieNotExpired_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertCookieNotExpired_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertCookieNotExpired_Call
type TestResponse_AssertCookie_Call ¶ added in v1.15.0
TestResponse_AssertCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookie'
func (*TestResponse_AssertCookie_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertCookie_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCookie_Call
func (*TestResponse_AssertCookie_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertCookie_Call) Run(run func(name string, value string)) *TestResponse_AssertCookie_Call
func (*TestResponse_AssertCookie_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertCookie_Call) RunAndReturn(run func(string, string) testing.TestResponse) *TestResponse_AssertCookie_Call
type TestResponse_AssertCreated_Call ¶ added in v1.15.0
TestResponse_AssertCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCreated'
func (*TestResponse_AssertCreated_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertCreated_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertCreated_Call
func (*TestResponse_AssertCreated_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertCreated_Call) Run(run func()) *TestResponse_AssertCreated_Call
func (*TestResponse_AssertCreated_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertCreated_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertCreated_Call
type TestResponse_AssertDontSee_Call ¶ added in v1.15.0
TestResponse_AssertDontSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertDontSee'
func (*TestResponse_AssertDontSee_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertDontSee_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertDontSee_Call
func (*TestResponse_AssertDontSee_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertDontSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertDontSee_Call
func (*TestResponse_AssertDontSee_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertDontSee_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertDontSee_Call
type TestResponse_AssertExactJson_Call ¶ added in v1.15.0
TestResponse_AssertExactJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertExactJson'
func (*TestResponse_AssertExactJson_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertExactJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertExactJson_Call
func (*TestResponse_AssertExactJson_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertExactJson_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertExactJson_Call
func (*TestResponse_AssertExactJson_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertExactJson_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertExactJson_Call
type TestResponse_AssertFluentJson_Call ¶ added in v1.15.0
TestResponse_AssertFluentJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFluentJson'
func (*TestResponse_AssertFluentJson_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertFluentJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertFluentJson_Call
func (*TestResponse_AssertFluentJson_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertFluentJson_Call) Run(run func(_a0 func(testing.AssertableJSON))) *TestResponse_AssertFluentJson_Call
func (*TestResponse_AssertFluentJson_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertFluentJson_Call) RunAndReturn(run func(func(testing.AssertableJSON)) testing.TestResponse) *TestResponse_AssertFluentJson_Call
type TestResponse_AssertForbidden_Call ¶ added in v1.15.0
TestResponse_AssertForbidden_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertForbidden'
func (*TestResponse_AssertForbidden_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertForbidden_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertForbidden_Call
func (*TestResponse_AssertForbidden_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertForbidden_Call) Run(run func()) *TestResponse_AssertForbidden_Call
func (*TestResponse_AssertForbidden_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertForbidden_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertForbidden_Call
type TestResponse_AssertFound_Call ¶ added in v1.15.0
TestResponse_AssertFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFound'
func (*TestResponse_AssertFound_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertFound_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertFound_Call
func (*TestResponse_AssertFound_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertFound_Call) Run(run func()) *TestResponse_AssertFound_Call
func (*TestResponse_AssertFound_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertFound_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertFound_Call
type TestResponse_AssertGone_Call ¶ added in v1.15.0
TestResponse_AssertGone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertGone'
func (*TestResponse_AssertGone_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertGone_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertGone_Call
func (*TestResponse_AssertGone_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertGone_Call) Run(run func()) *TestResponse_AssertGone_Call
func (*TestResponse_AssertGone_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertGone_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertGone_Call
type TestResponse_AssertHeaderMissing_Call ¶ added in v1.15.0
TestResponse_AssertHeaderMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeaderMissing'
func (*TestResponse_AssertHeaderMissing_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertHeaderMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertHeaderMissing_Call
func (*TestResponse_AssertHeaderMissing_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertHeaderMissing_Call) Run(run func(_a0 string)) *TestResponse_AssertHeaderMissing_Call
func (*TestResponse_AssertHeaderMissing_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertHeaderMissing_Call) RunAndReturn(run func(string) testing.TestResponse) *TestResponse_AssertHeaderMissing_Call
type TestResponse_AssertHeader_Call ¶ added in v1.15.0
TestResponse_AssertHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeader'
func (*TestResponse_AssertHeader_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertHeader_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertHeader_Call
func (*TestResponse_AssertHeader_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertHeader_Call) Run(run func(headerName string, value string)) *TestResponse_AssertHeader_Call
func (*TestResponse_AssertHeader_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertHeader_Call) RunAndReturn(run func(string, string) testing.TestResponse) *TestResponse_AssertHeader_Call
type TestResponse_AssertInternalServerError_Call ¶ added in v1.15.0
TestResponse_AssertInternalServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertInternalServerError'
func (*TestResponse_AssertInternalServerError_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertInternalServerError_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertInternalServerError_Call
func (*TestResponse_AssertInternalServerError_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertInternalServerError_Call) Run(run func()) *TestResponse_AssertInternalServerError_Call
func (*TestResponse_AssertInternalServerError_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertInternalServerError_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertInternalServerError_Call
type TestResponse_AssertJsonMissing_Call ¶ added in v1.15.0
TestResponse_AssertJsonMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJsonMissing'
func (*TestResponse_AssertJsonMissing_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertJsonMissing_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertJsonMissing_Call
func (*TestResponse_AssertJsonMissing_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertJsonMissing_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertJsonMissing_Call
func (*TestResponse_AssertJsonMissing_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertJsonMissing_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertJsonMissing_Call
type TestResponse_AssertJson_Call ¶ added in v1.15.0
TestResponse_AssertJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJson'
func (*TestResponse_AssertJson_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertJson_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertJson_Call
func (*TestResponse_AssertJson_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertJson_Call) Run(run func(_a0 map[string]interface{})) *TestResponse_AssertJson_Call
func (*TestResponse_AssertJson_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertJson_Call) RunAndReturn(run func(map[string]interface{}) testing.TestResponse) *TestResponse_AssertJson_Call
type TestResponse_AssertMethodNotAllowed_Call ¶ added in v1.15.0
TestResponse_AssertMethodNotAllowed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMethodNotAllowed'
func (*TestResponse_AssertMethodNotAllowed_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertMethodNotAllowed_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertMethodNotAllowed_Call
func (*TestResponse_AssertMethodNotAllowed_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertMethodNotAllowed_Call) Run(run func()) *TestResponse_AssertMethodNotAllowed_Call
func (*TestResponse_AssertMethodNotAllowed_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertMethodNotAllowed_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertMethodNotAllowed_Call
type TestResponse_AssertMovedPermanently_Call ¶ added in v1.15.0
TestResponse_AssertMovedPermanently_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMovedPermanently'
func (*TestResponse_AssertMovedPermanently_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertMovedPermanently_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertMovedPermanently_Call
func (*TestResponse_AssertMovedPermanently_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertMovedPermanently_Call) Run(run func()) *TestResponse_AssertMovedPermanently_Call
func (*TestResponse_AssertMovedPermanently_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertMovedPermanently_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertMovedPermanently_Call
type TestResponse_AssertNoContent_Call ¶ added in v1.15.0
TestResponse_AssertNoContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNoContent'
func (*TestResponse_AssertNoContent_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertNoContent_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNoContent_Call
func (*TestResponse_AssertNoContent_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertNoContent_Call) Run(run func(status ...int)) *TestResponse_AssertNoContent_Call
func (*TestResponse_AssertNoContent_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertNoContent_Call) RunAndReturn(run func(...int) testing.TestResponse) *TestResponse_AssertNoContent_Call
type TestResponse_AssertNotAcceptable_Call ¶ added in v1.15.0
TestResponse_AssertNotAcceptable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotAcceptable'
func (*TestResponse_AssertNotAcceptable_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertNotAcceptable_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotAcceptable_Call
func (*TestResponse_AssertNotAcceptable_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertNotAcceptable_Call) Run(run func()) *TestResponse_AssertNotAcceptable_Call
func (*TestResponse_AssertNotAcceptable_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertNotAcceptable_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotAcceptable_Call
type TestResponse_AssertNotFound_Call ¶ added in v1.15.0
TestResponse_AssertNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotFound'
func (*TestResponse_AssertNotFound_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertNotFound_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotFound_Call
func (*TestResponse_AssertNotFound_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertNotFound_Call) Run(run func()) *TestResponse_AssertNotFound_Call
func (*TestResponse_AssertNotFound_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertNotFound_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotFound_Call
type TestResponse_AssertNotModified_Call ¶ added in v1.15.0
TestResponse_AssertNotModified_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotModified'
func (*TestResponse_AssertNotModified_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertNotModified_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertNotModified_Call
func (*TestResponse_AssertNotModified_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertNotModified_Call) Run(run func()) *TestResponse_AssertNotModified_Call
func (*TestResponse_AssertNotModified_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertNotModified_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertNotModified_Call
type TestResponse_AssertOk_Call ¶ added in v1.15.0
TestResponse_AssertOk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertOk'
func (*TestResponse_AssertOk_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertOk_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertOk_Call
func (*TestResponse_AssertOk_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertOk_Call) Run(run func()) *TestResponse_AssertOk_Call
func (*TestResponse_AssertOk_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertOk_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertOk_Call
type TestResponse_AssertPartialContent_Call ¶ added in v1.15.0
TestResponse_AssertPartialContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPartialContent'
func (*TestResponse_AssertPartialContent_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertPartialContent_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertPartialContent_Call
func (*TestResponse_AssertPartialContent_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertPartialContent_Call) Run(run func()) *TestResponse_AssertPartialContent_Call
func (*TestResponse_AssertPartialContent_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertPartialContent_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertPartialContent_Call
type TestResponse_AssertPaymentRequired_Call ¶ added in v1.15.0
TestResponse_AssertPaymentRequired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPaymentRequired'
func (*TestResponse_AssertPaymentRequired_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertPaymentRequired_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertPaymentRequired_Call
func (*TestResponse_AssertPaymentRequired_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertPaymentRequired_Call) Run(run func()) *TestResponse_AssertPaymentRequired_Call
func (*TestResponse_AssertPaymentRequired_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertPaymentRequired_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertPaymentRequired_Call
type TestResponse_AssertRequestTimeout_Call ¶ added in v1.15.0
TestResponse_AssertRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertRequestTimeout'
func (*TestResponse_AssertRequestTimeout_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertRequestTimeout_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertRequestTimeout_Call
func (*TestResponse_AssertRequestTimeout_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertRequestTimeout_Call) Run(run func()) *TestResponse_AssertRequestTimeout_Call
func (*TestResponse_AssertRequestTimeout_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertRequestTimeout_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertRequestTimeout_Call
type TestResponse_AssertSeeInOrder_Call ¶ added in v1.15.0
TestResponse_AssertSeeInOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSeeInOrder'
func (*TestResponse_AssertSeeInOrder_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertSeeInOrder_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSeeInOrder_Call
func (*TestResponse_AssertSeeInOrder_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertSeeInOrder_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertSeeInOrder_Call
func (*TestResponse_AssertSeeInOrder_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertSeeInOrder_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertSeeInOrder_Call
type TestResponse_AssertSee_Call ¶ added in v1.15.0
TestResponse_AssertSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSee'
func (*TestResponse_AssertSee_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertSee_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSee_Call
func (*TestResponse_AssertSee_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *TestResponse_AssertSee_Call
func (*TestResponse_AssertSee_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertSee_Call) RunAndReturn(run func([]string, ...bool) testing.TestResponse) *TestResponse_AssertSee_Call
type TestResponse_AssertServerError_Call ¶ added in v1.15.0
TestResponse_AssertServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServerError'
func (*TestResponse_AssertServerError_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertServerError_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertServerError_Call
func (*TestResponse_AssertServerError_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertServerError_Call) Run(run func()) *TestResponse_AssertServerError_Call
func (*TestResponse_AssertServerError_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertServerError_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertServerError_Call
type TestResponse_AssertServiceUnavailable_Call ¶ added in v1.15.0
type TestResponse_AssertServiceUnavailable_Call struct {
}TestResponse_AssertServiceUnavailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServiceUnavailable'
func (*TestResponse_AssertServiceUnavailable_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertServiceUnavailable_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertServiceUnavailable_Call
func (*TestResponse_AssertServiceUnavailable_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertServiceUnavailable_Call) Run(run func()) *TestResponse_AssertServiceUnavailable_Call
func (*TestResponse_AssertServiceUnavailable_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertServiceUnavailable_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertServiceUnavailable_Call
type TestResponse_AssertStatus_Call ¶ added in v1.15.0
TestResponse_AssertStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertStatus'
func (*TestResponse_AssertStatus_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertStatus_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertStatus_Call
func (*TestResponse_AssertStatus_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertStatus_Call) Run(run func(status int)) *TestResponse_AssertStatus_Call
func (*TestResponse_AssertStatus_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertStatus_Call) RunAndReturn(run func(int) testing.TestResponse) *TestResponse_AssertStatus_Call
type TestResponse_AssertSuccessful_Call ¶ added in v1.15.0
TestResponse_AssertSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSuccessful'
func (*TestResponse_AssertSuccessful_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertSuccessful_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertSuccessful_Call
func (*TestResponse_AssertSuccessful_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertSuccessful_Call) Run(run func()) *TestResponse_AssertSuccessful_Call
func (*TestResponse_AssertSuccessful_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertSuccessful_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertSuccessful_Call
type TestResponse_AssertTemporaryRedirect_Call ¶ added in v1.15.0
TestResponse_AssertTemporaryRedirect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTemporaryRedirect'
func (*TestResponse_AssertTemporaryRedirect_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertTemporaryRedirect_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertTemporaryRedirect_Call
func (*TestResponse_AssertTemporaryRedirect_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertTemporaryRedirect_Call) Run(run func()) *TestResponse_AssertTemporaryRedirect_Call
func (*TestResponse_AssertTemporaryRedirect_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertTemporaryRedirect_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertTemporaryRedirect_Call
type TestResponse_AssertTooManyRequests_Call ¶ added in v1.15.0
TestResponse_AssertTooManyRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTooManyRequests'
func (*TestResponse_AssertTooManyRequests_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertTooManyRequests_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertTooManyRequests_Call
func (*TestResponse_AssertTooManyRequests_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertTooManyRequests_Call) Run(run func()) *TestResponse_AssertTooManyRequests_Call
func (*TestResponse_AssertTooManyRequests_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertTooManyRequests_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertTooManyRequests_Call
type TestResponse_AssertUnauthorized_Call ¶ added in v1.15.0
type TestResponse_AssertUnauthorized_Call struct {
}TestResponse_AssertUnauthorized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnauthorized'
func (*TestResponse_AssertUnauthorized_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertUnauthorized_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnauthorized_Call
func (*TestResponse_AssertUnauthorized_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertUnauthorized_Call) Run(run func()) *TestResponse_AssertUnauthorized_Call
func (*TestResponse_AssertUnauthorized_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertUnauthorized_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnauthorized_Call
type TestResponse_AssertUnprocessableEntity_Call ¶ added in v1.15.0
TestResponse_AssertUnprocessableEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnprocessableEntity'
func (*TestResponse_AssertUnprocessableEntity_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertUnprocessableEntity_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnprocessableEntity_Call
func (*TestResponse_AssertUnprocessableEntity_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertUnprocessableEntity_Call) Run(run func()) *TestResponse_AssertUnprocessableEntity_Call
func (*TestResponse_AssertUnprocessableEntity_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertUnprocessableEntity_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnprocessableEntity_Call
type TestResponse_AssertUnsupportedMediaType_Call ¶ added in v1.15.0
TestResponse_AssertUnsupportedMediaType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnsupportedMediaType'
func (*TestResponse_AssertUnsupportedMediaType_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_AssertUnsupportedMediaType_Call) Return(_a0 testing.TestResponse) *TestResponse_AssertUnsupportedMediaType_Call
func (*TestResponse_AssertUnsupportedMediaType_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_AssertUnsupportedMediaType_Call) Run(run func()) *TestResponse_AssertUnsupportedMediaType_Call
func (*TestResponse_AssertUnsupportedMediaType_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_AssertUnsupportedMediaType_Call) RunAndReturn(run func() testing.TestResponse) *TestResponse_AssertUnsupportedMediaType_Call
type TestResponse_Content_Call ¶ added in v1.15.0
TestResponse_Content_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Content'
func (*TestResponse_Content_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Content_Call) Return(_a0 string, _a1 error) *TestResponse_Content_Call
func (*TestResponse_Content_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Content_Call) Run(run func()) *TestResponse_Content_Call
func (*TestResponse_Content_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Content_Call) RunAndReturn(run func() (string, error)) *TestResponse_Content_Call
type TestResponse_Cookie_Call ¶ added in v1.15.0
TestResponse_Cookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookie'
func (*TestResponse_Cookie_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Cookie_Call) Return(_a0 *http.Cookie) *TestResponse_Cookie_Call
func (*TestResponse_Cookie_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Cookie_Call) Run(run func(name string)) *TestResponse_Cookie_Call
func (*TestResponse_Cookie_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Cookie_Call) RunAndReturn(run func(string) *http.Cookie) *TestResponse_Cookie_Call
type TestResponse_Cookies_Call ¶ added in v1.15.0
TestResponse_Cookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookies'
func (*TestResponse_Cookies_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Cookies_Call) Return(_a0 []*http.Cookie) *TestResponse_Cookies_Call
func (*TestResponse_Cookies_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Cookies_Call) Run(run func()) *TestResponse_Cookies_Call
func (*TestResponse_Cookies_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Cookies_Call) RunAndReturn(run func() []*http.Cookie) *TestResponse_Cookies_Call
type TestResponse_Expecter ¶ added in v1.15.0
type TestResponse_Expecter struct {
// contains filtered or unexported fields
}
func (*TestResponse_Expecter) AssertAccepted ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertAccepted() *TestResponse_AssertAccepted_Call
AssertAccepted is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertBadRequest ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertBadRequest() *TestResponse_AssertBadRequest_Call
AssertBadRequest is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertConflict ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertConflict() *TestResponse_AssertConflict_Call
AssertConflict is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertCookie ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertCookie(name interface{}, value interface{}) *TestResponse_AssertCookie_Call
AssertCookie is a helper method to define mock.On call
- name string
- value string
func (*TestResponse_Expecter) AssertCookieExpired ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertCookieExpired(_a0 interface{}) *TestResponse_AssertCookieExpired_Call
AssertCookieExpired is a helper method to define mock.On call
- _a0 string
func (*TestResponse_Expecter) AssertCookieMissing ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertCookieMissing(_a0 interface{}) *TestResponse_AssertCookieMissing_Call
AssertCookieMissing is a helper method to define mock.On call
- _a0 string
func (*TestResponse_Expecter) AssertCookieNotExpired ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertCookieNotExpired(_a0 interface{}) *TestResponse_AssertCookieNotExpired_Call
AssertCookieNotExpired is a helper method to define mock.On call
- _a0 string
func (*TestResponse_Expecter) AssertCreated ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertCreated() *TestResponse_AssertCreated_Call
AssertCreated is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertDontSee ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertDontSee(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertDontSee_Call
AssertDontSee is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*TestResponse_Expecter) AssertExactJson ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertExactJson(_a0 interface{}) *TestResponse_AssertExactJson_Call
AssertExactJson is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*TestResponse_Expecter) AssertFluentJson ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertFluentJson(_a0 interface{}) *TestResponse_AssertFluentJson_Call
AssertFluentJson is a helper method to define mock.On call
- _a0 func(testing.AssertableJSON)
func (*TestResponse_Expecter) AssertForbidden ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertForbidden() *TestResponse_AssertForbidden_Call
AssertForbidden is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertFound ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertFound() *TestResponse_AssertFound_Call
AssertFound is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertGone ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertGone() *TestResponse_AssertGone_Call
AssertGone is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertHeader ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertHeader(headerName interface{}, value interface{}) *TestResponse_AssertHeader_Call
AssertHeader is a helper method to define mock.On call
- headerName string
- value string
func (*TestResponse_Expecter) AssertHeaderMissing ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertHeaderMissing(_a0 interface{}) *TestResponse_AssertHeaderMissing_Call
AssertHeaderMissing is a helper method to define mock.On call
- _a0 string
func (*TestResponse_Expecter) AssertInternalServerError ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertInternalServerError() *TestResponse_AssertInternalServerError_Call
AssertInternalServerError is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertJson ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertJson(_a0 interface{}) *TestResponse_AssertJson_Call
AssertJson is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*TestResponse_Expecter) AssertJsonMissing ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertJsonMissing(_a0 interface{}) *TestResponse_AssertJsonMissing_Call
AssertJsonMissing is a helper method to define mock.On call
- _a0 map[string]interface{}
func (*TestResponse_Expecter) AssertMethodNotAllowed ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertMethodNotAllowed() *TestResponse_AssertMethodNotAllowed_Call
AssertMethodNotAllowed is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertMovedPermanently ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertMovedPermanently() *TestResponse_AssertMovedPermanently_Call
AssertMovedPermanently is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertNoContent ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertNoContent(status ...interface{}) *TestResponse_AssertNoContent_Call
AssertNoContent is a helper method to define mock.On call
- status ...int
func (*TestResponse_Expecter) AssertNotAcceptable ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertNotAcceptable() *TestResponse_AssertNotAcceptable_Call
AssertNotAcceptable is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertNotFound ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertNotFound() *TestResponse_AssertNotFound_Call
AssertNotFound is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertNotModified ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertNotModified() *TestResponse_AssertNotModified_Call
AssertNotModified is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertOk ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertOk() *TestResponse_AssertOk_Call
AssertOk is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertPartialContent ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertPartialContent() *TestResponse_AssertPartialContent_Call
AssertPartialContent is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertPaymentRequired ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertPaymentRequired() *TestResponse_AssertPaymentRequired_Call
AssertPaymentRequired is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertRequestTimeout ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertRequestTimeout() *TestResponse_AssertRequestTimeout_Call
AssertRequestTimeout is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertSee ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertSee(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertSee_Call
AssertSee is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*TestResponse_Expecter) AssertSeeInOrder ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertSeeInOrder(_a0 interface{}, _a1 ...interface{}) *TestResponse_AssertSeeInOrder_Call
AssertSeeInOrder is a helper method to define mock.On call
- _a0 []string
- _a1 ...bool
func (*TestResponse_Expecter) AssertServerError ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertServerError() *TestResponse_AssertServerError_Call
AssertServerError is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertServiceUnavailable ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertServiceUnavailable() *TestResponse_AssertServiceUnavailable_Call
AssertServiceUnavailable is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertStatus ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertStatus(status interface{}) *TestResponse_AssertStatus_Call
AssertStatus is a helper method to define mock.On call
- status int
func (*TestResponse_Expecter) AssertSuccessful ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertSuccessful() *TestResponse_AssertSuccessful_Call
AssertSuccessful is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertTemporaryRedirect ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertTemporaryRedirect() *TestResponse_AssertTemporaryRedirect_Call
AssertTemporaryRedirect is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertTooManyRequests ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertTooManyRequests() *TestResponse_AssertTooManyRequests_Call
AssertTooManyRequests is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertUnauthorized ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertUnauthorized() *TestResponse_AssertUnauthorized_Call
AssertUnauthorized is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertUnprocessableEntity ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertUnprocessableEntity() *TestResponse_AssertUnprocessableEntity_Call
AssertUnprocessableEntity is a helper method to define mock.On call
func (*TestResponse_Expecter) AssertUnsupportedMediaType ¶ added in v1.15.0
func (_e *TestResponse_Expecter) AssertUnsupportedMediaType() *TestResponse_AssertUnsupportedMediaType_Call
AssertUnsupportedMediaType is a helper method to define mock.On call
func (*TestResponse_Expecter) Content ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Content() *TestResponse_Content_Call
Content is a helper method to define mock.On call
func (*TestResponse_Expecter) Cookie ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Cookie(name interface{}) *TestResponse_Cookie_Call
Cookie is a helper method to define mock.On call
- name string
func (*TestResponse_Expecter) Cookies ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Cookies() *TestResponse_Cookies_Call
Cookies is a helper method to define mock.On call
func (*TestResponse_Expecter) Headers ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Headers() *TestResponse_Headers_Call
Headers is a helper method to define mock.On call
func (*TestResponse_Expecter) IsServerError ¶ added in v1.15.0
func (_e *TestResponse_Expecter) IsServerError() *TestResponse_IsServerError_Call
IsServerError is a helper method to define mock.On call
func (*TestResponse_Expecter) IsSuccessful ¶ added in v1.15.0
func (_e *TestResponse_Expecter) IsSuccessful() *TestResponse_IsSuccessful_Call
IsSuccessful is a helper method to define mock.On call
func (*TestResponse_Expecter) Json ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Json() *TestResponse_Json_Call
Json is a helper method to define mock.On call
func (*TestResponse_Expecter) Session ¶ added in v1.15.0
func (_e *TestResponse_Expecter) Session() *TestResponse_Session_Call
Session is a helper method to define mock.On call
type TestResponse_Headers_Call ¶ added in v1.15.0
TestResponse_Headers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Headers'
func (*TestResponse_Headers_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Headers_Call) Return(_a0 http.Header) *TestResponse_Headers_Call
func (*TestResponse_Headers_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Headers_Call) Run(run func()) *TestResponse_Headers_Call
func (*TestResponse_Headers_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Headers_Call) RunAndReturn(run func() http.Header) *TestResponse_Headers_Call
type TestResponse_IsServerError_Call ¶ added in v1.15.0
TestResponse_IsServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServerError'
func (*TestResponse_IsServerError_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_IsServerError_Call) Return(_a0 bool) *TestResponse_IsServerError_Call
func (*TestResponse_IsServerError_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_IsServerError_Call) Run(run func()) *TestResponse_IsServerError_Call
func (*TestResponse_IsServerError_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_IsServerError_Call) RunAndReturn(run func() bool) *TestResponse_IsServerError_Call
type TestResponse_IsSuccessful_Call ¶ added in v1.15.0
TestResponse_IsSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSuccessful'
func (*TestResponse_IsSuccessful_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_IsSuccessful_Call) Return(_a0 bool) *TestResponse_IsSuccessful_Call
func (*TestResponse_IsSuccessful_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_IsSuccessful_Call) Run(run func()) *TestResponse_IsSuccessful_Call
func (*TestResponse_IsSuccessful_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_IsSuccessful_Call) RunAndReturn(run func() bool) *TestResponse_IsSuccessful_Call
type TestResponse_Json_Call ¶ added in v1.15.0
TestResponse_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'
func (*TestResponse_Json_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Json_Call) Return(_a0 map[string]interface{}, _a1 error) *TestResponse_Json_Call
func (*TestResponse_Json_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Json_Call) Run(run func()) *TestResponse_Json_Call
func (*TestResponse_Json_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Json_Call) RunAndReturn(run func() (map[string]interface{}, error)) *TestResponse_Json_Call
type TestResponse_Session_Call ¶ added in v1.15.0
TestResponse_Session_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Session'
func (*TestResponse_Session_Call) Return ¶ added in v1.15.0
func (_c *TestResponse_Session_Call) Return(_a0 map[string]interface{}, _a1 error) *TestResponse_Session_Call
func (*TestResponse_Session_Call) Run ¶ added in v1.15.0
func (_c *TestResponse_Session_Call) Run(run func()) *TestResponse_Session_Call
func (*TestResponse_Session_Call) RunAndReturn ¶ added in v1.15.0
func (_c *TestResponse_Session_Call) RunAndReturn(run func() (map[string]interface{}, error)) *TestResponse_Session_Call
type Testing ¶
Testing is an autogenerated mock type for the Testing type
func NewTesting ¶
NewTesting creates a new instance of Testing. 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 (*Testing) EXPECT ¶
func (_m *Testing) EXPECT() *Testing_Expecter
type Testing_Docker_Call ¶
Testing_Docker_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Docker'
func (*Testing_Docker_Call) Return ¶
func (_c *Testing_Docker_Call) Return(_a0 testing.Docker) *Testing_Docker_Call
func (*Testing_Docker_Call) Run ¶
func (_c *Testing_Docker_Call) Run(run func()) *Testing_Docker_Call
func (*Testing_Docker_Call) RunAndReturn ¶
func (_c *Testing_Docker_Call) RunAndReturn(run func() testing.Docker) *Testing_Docker_Call
type Testing_Expecter ¶
type Testing_Expecter struct {
// contains filtered or unexported fields
}
func (*Testing_Expecter) Docker ¶
func (_e *Testing_Expecter) Docker() *Testing_Docker_Call
Docker is a helper method to define mock.On call