testing

package
v1.15.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertableJSON added in v1.15.0

type AssertableJSON struct {
	mock.Mock
}

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 (*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

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

type AssertableJSON_Count_Call struct {
	*mock.Call
}

AssertableJSON_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'

func (*AssertableJSON_Count_Call) Return added in v1.15.0

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

type AssertableJSON_Each_Call added in v1.15.0

type AssertableJSON_Each_Call struct {
	*mock.Call
}

AssertableJSON_Each_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Each'

func (*AssertableJSON_Each_Call) Return added in v1.15.0

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

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

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

type AssertableJSON_First_Call struct {
	*mock.Call
}

AssertableJSON_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'

func (*AssertableJSON_First_Call) Return added in v1.15.0

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

type AssertableJSON_HasAll_Call added in v1.15.0

type AssertableJSON_HasAll_Call struct {
	*mock.Call
}

AssertableJSON_HasAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAll'

func (*AssertableJSON_HasAll_Call) Return added in v1.15.0

func (*AssertableJSON_HasAll_Call) Run added in v1.15.0

func (*AssertableJSON_HasAll_Call) RunAndReturn added in v1.15.0

type AssertableJSON_HasAny_Call added in v1.15.0

type AssertableJSON_HasAny_Call struct {
	*mock.Call
}

AssertableJSON_HasAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAny'

func (*AssertableJSON_HasAny_Call) Return added in v1.15.0

func (*AssertableJSON_HasAny_Call) Run added in v1.15.0

func (*AssertableJSON_HasAny_Call) RunAndReturn added in v1.15.0

type AssertableJSON_HasWithScope_Call added in v1.15.0

type AssertableJSON_HasWithScope_Call struct {
	*mock.Call
}

AssertableJSON_HasWithScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasWithScope'

func (*AssertableJSON_HasWithScope_Call) Return added in v1.15.0

func (*AssertableJSON_HasWithScope_Call) Run added in v1.15.0

func (*AssertableJSON_HasWithScope_Call) RunAndReturn added in v1.15.0

type AssertableJSON_Has_Call added in v1.15.0

type AssertableJSON_Has_Call struct {
	*mock.Call
}

AssertableJSON_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'

func (*AssertableJSON_Has_Call) Return added in v1.15.0

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

type AssertableJSON_Json_Call added in v1.15.0

type AssertableJSON_Json_Call struct {
	*mock.Call
}

AssertableJSON_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'

func (*AssertableJSON_Json_Call) Return 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 (*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

type AssertableJSON_MissingAll_Call struct {
	*mock.Call
}

AssertableJSON_MissingAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MissingAll'

func (*AssertableJSON_MissingAll_Call) Return added in v1.15.0

func (*AssertableJSON_MissingAll_Call) Run added in v1.15.0

func (*AssertableJSON_MissingAll_Call) RunAndReturn added in v1.15.0

type AssertableJSON_Missing_Call added in v1.15.0

type AssertableJSON_Missing_Call struct {
	*mock.Call
}

AssertableJSON_Missing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Missing'

func (*AssertableJSON_Missing_Call) Return added in v1.15.0

func (*AssertableJSON_Missing_Call) Run added in v1.15.0

func (*AssertableJSON_Missing_Call) RunAndReturn added in v1.15.0

type AssertableJSON_WhereNot_Call added in v1.15.0

type AssertableJSON_WhereNot_Call struct {
	*mock.Call
}

AssertableJSON_WhereNot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNot'

func (*AssertableJSON_WhereNot_Call) Return added in v1.15.0

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

type AssertableJSON_Where_Call added in v1.15.0

type AssertableJSON_Where_Call struct {
	*mock.Call
}

AssertableJSON_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'

func (*AssertableJSON_Where_Call) Return added in v1.15.0

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

type Database struct {
	mock.Mock
}

Database is an autogenerated mock type for the Database type

func NewDatabase

func NewDatabase(t interface {
	mock.TestingT
	Cleanup(func())
}) *Database

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) Build

func (_m *Database) Build() error

Build provides a mock function with no fields

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) Driver added in v1.15.0

func (_m *Database) Driver() database.Driver

Driver provides a mock function with no fields

func (*Database) EXPECT

func (_m *Database) EXPECT() *Database_Expecter

func (*Database) Fresh added in v1.15.0

func (_m *Database) Fresh() error

Fresh provides a mock function with no fields

func (*Database) Image

func (_m *Database) Image(image testing.Image)

Image provides a mock function with given fields: image

func (*Database) Migrate added in v1.15.0

func (_m *Database) Migrate() error

Migrate provides a mock function with no fields

func (*Database) Ready added in v1.15.0

func (_m *Database) Ready() error

Ready provides a mock function with no fields

func (*Database) Seed

func (_m *Database) Seed(seeders ...seeder.Seeder) error

Seed provides a mock function with given fields: seeders

func (*Database) Shutdown added in v1.15.0

func (_m *Database) Shutdown() error

Shutdown provides a mock function with no fields

type DatabaseDriver

type DatabaseDriver struct {
	mock.Mock
}

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 (*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

type DatabaseDriver_Build_Call struct {
	*mock.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 (*DatabaseDriver_Build_Call) Run

func (*DatabaseDriver_Build_Call) RunAndReturn

func (_c *DatabaseDriver_Build_Call) RunAndReturn(run func() error) *DatabaseDriver_Build_Call

type DatabaseDriver_Config_Call

type DatabaseDriver_Config_Call struct {
	*mock.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 (*DatabaseDriver_Config_Call) Run

func (*DatabaseDriver_Config_Call) RunAndReturn

type DatabaseDriver_Database_Call added in v1.15.0

type DatabaseDriver_Database_Call struct {
	*mock.Call
}

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 (*DatabaseDriver_Database_Call) Run added in v1.15.0

func (*DatabaseDriver_Database_Call) RunAndReturn added in v1.15.0

type DatabaseDriver_Driver_Call added in v1.15.0

type DatabaseDriver_Driver_Call struct {
	*mock.Call
}

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 (*DatabaseDriver_Driver_Call) Run added in v1.15.0

func (*DatabaseDriver_Driver_Call) RunAndReturn added in v1.15.0

type DatabaseDriver_Expecter

type DatabaseDriver_Expecter struct {
	// contains filtered or unexported fields
}

func (*DatabaseDriver_Expecter) Build

Build is a helper method to define mock.On call

func (*DatabaseDriver_Expecter) Config

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

Driver is a helper method to define mock.On call

func (*DatabaseDriver_Expecter) Fresh

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

Ready is a helper method to define mock.On call

func (*DatabaseDriver_Expecter) Shutdown added in v1.15.0

Shutdown is a helper method to define mock.On call

type DatabaseDriver_Fresh_Call

type DatabaseDriver_Fresh_Call struct {
	*mock.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 (*DatabaseDriver_Fresh_Call) Run

func (*DatabaseDriver_Fresh_Call) RunAndReturn

func (_c *DatabaseDriver_Fresh_Call) RunAndReturn(run func() error) *DatabaseDriver_Fresh_Call

type DatabaseDriver_Image_Call

type DatabaseDriver_Image_Call struct {
	*mock.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 (*DatabaseDriver_Image_Call) Run

func (*DatabaseDriver_Image_Call) RunAndReturn

type DatabaseDriver_Ready_Call added in v1.15.0

type DatabaseDriver_Ready_Call struct {
	*mock.Call
}

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 (*DatabaseDriver_Ready_Call) Run added in v1.15.0

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

type DatabaseDriver_Shutdown_Call struct {
	*mock.Call
}

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 (*DatabaseDriver_Shutdown_Call) Run added in v1.15.0

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

type Database_Build_Call struct {
	*mock.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 (*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

type Database_Config_Call struct {
	*mock.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 (*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

type Database_Database_Call struct {
	*mock.Call
}

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 (*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

type Database_Driver_Call added in v1.15.0

type Database_Driver_Call struct {
	*mock.Call
}

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 (*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

Build is a helper method to define mock.On call

func (*Database_Expecter) Config

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

Driver is a helper method to define mock.On call

func (*Database_Expecter) Fresh added in v1.15.0

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

Migrate is a helper method to define mock.On call

func (*Database_Expecter) Ready added in v1.15.0

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

type Database_Fresh_Call struct {
	*mock.Call
}

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 (*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

type Database_Image_Call struct {
	*mock.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 (*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

type Database_Migrate_Call struct {
	*mock.Call
}

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 (*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

type Database_Ready_Call struct {
	*mock.Call
}

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 (*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

type Database_Seed_Call struct {
	*mock.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

type Database_Shutdown_Call struct {
	*mock.Call
}

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 (*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

type Docker struct {
	mock.Mock
}

Docker is an autogenerated mock type for the Docker type

func NewDocker

func NewDocker(t interface {
	mock.TestingT
	Cleanup(func())
}) *Docker

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) Database

func (_m *Docker) Database(connection ...string) (testing.Database, error)

Database provides a mock function with given fields: connection

func (*Docker) EXPECT

func (_m *Docker) EXPECT() *Docker_Expecter

type Docker_Database_Call

type Docker_Database_Call struct {
	*mock.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 (*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

type TestRequest struct {
	mock.Mock
}

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

type TestRequest_Bind_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_Delete_Call struct {
	*mock.Call
}

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 (*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

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

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

WithoutToken is a helper method to define mock.On call

type TestRequest_FlushHeaders_Call added in v1.15.0

type TestRequest_FlushHeaders_Call struct {
	*mock.Call
}

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 (*TestRequest_FlushHeaders_Call) Run added in v1.15.0

func (*TestRequest_FlushHeaders_Call) RunAndReturn added in v1.15.0

type TestRequest_Get_Call added in v1.15.0

type TestRequest_Get_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_Head_Call added in v1.15.0

type TestRequest_Head_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_Options_Call added in v1.15.0

type TestRequest_Options_Call struct {
	*mock.Call
}

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 (*TestRequest_Options_Call) Run added in v1.15.0

func (*TestRequest_Options_Call) RunAndReturn added in v1.15.0

type TestRequest_Patch_Call added in v1.15.0

type TestRequest_Patch_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_Post_Call added in v1.15.0

type TestRequest_Post_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_Put_Call added in v1.15.0

type TestRequest_Put_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_WithBasicAuth_Call added in v1.15.0

type TestRequest_WithBasicAuth_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_WithContext_Call added in v1.15.0

type TestRequest_WithContext_Call struct {
	*mock.Call
}

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 (*TestRequest_WithContext_Call) Run added in v1.15.0

func (*TestRequest_WithContext_Call) RunAndReturn added in v1.15.0

type TestRequest_WithCookie_Call added in v1.15.0

type TestRequest_WithCookie_Call struct {
	*mock.Call
}

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 (*TestRequest_WithCookie_Call) Run added in v1.15.0

func (*TestRequest_WithCookie_Call) RunAndReturn added in v1.15.0

type TestRequest_WithCookies_Call added in v1.15.0

type TestRequest_WithCookies_Call struct {
	*mock.Call
}

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 (*TestRequest_WithCookies_Call) Run added in v1.15.0

func (*TestRequest_WithCookies_Call) RunAndReturn added in v1.15.0

type TestRequest_WithHeader_Call added in v1.15.0

type TestRequest_WithHeader_Call struct {
	*mock.Call
}

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 (*TestRequest_WithHeader_Call) Run added in v1.15.0

func (*TestRequest_WithHeader_Call) RunAndReturn added in v1.15.0

type TestRequest_WithHeaders_Call added in v1.15.0

type TestRequest_WithHeaders_Call struct {
	*mock.Call
}

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 (*TestRequest_WithHeaders_Call) Run added in v1.15.0

func (*TestRequest_WithHeaders_Call) RunAndReturn added in v1.15.0

type TestRequest_WithSession_Call added in v1.15.0

type TestRequest_WithSession_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_WithToken_Call struct {
	*mock.Call
}

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 (*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

type TestRequest_WithoutHeader_Call added in v1.15.0

type TestRequest_WithoutHeader_Call struct {
	*mock.Call
}

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 (*TestRequest_WithoutHeader_Call) Run added in v1.15.0

func (*TestRequest_WithoutHeader_Call) RunAndReturn added in v1.15.0

type TestRequest_WithoutToken_Call added in v1.15.0

type TestRequest_WithoutToken_Call struct {
	*mock.Call
}

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 (*TestRequest_WithoutToken_Call) Run added in v1.15.0

func (*TestRequest_WithoutToken_Call) RunAndReturn added in v1.15.0

type TestResponse added in v1.15.0

type TestResponse struct {
	mock.Mock
}

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

type TestResponse_AssertAccepted_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertAccepted_Call) Run added in v1.15.0

func (*TestResponse_AssertAccepted_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertBadRequest_Call added in v1.15.0

type TestResponse_AssertBadRequest_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertBadRequest_Call) Run added in v1.15.0

func (*TestResponse_AssertBadRequest_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertConflict_Call added in v1.15.0

type TestResponse_AssertConflict_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertConflict_Call) Run added in v1.15.0

func (*TestResponse_AssertConflict_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertCookieExpired_Call added in v1.15.0

type TestResponse_AssertCookieExpired_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertCookieExpired_Call) Run added in v1.15.0

func (*TestResponse_AssertCookieExpired_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertCookieMissing_Call added in v1.15.0

type TestResponse_AssertCookieMissing_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertCookieMissing_Call) Run added in v1.15.0

func (*TestResponse_AssertCookieMissing_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertCookieNotExpired_Call added in v1.15.0

type TestResponse_AssertCookieNotExpired_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertCookieNotExpired_Call) Run added in v1.15.0

func (*TestResponse_AssertCookieNotExpired_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertCookie_Call added in v1.15.0

type TestResponse_AssertCookie_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertCookie_Call) Run added in v1.15.0

func (*TestResponse_AssertCookie_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertCreated_Call added in v1.15.0

type TestResponse_AssertCreated_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertCreated_Call) Run added in v1.15.0

func (*TestResponse_AssertCreated_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertDontSee_Call added in v1.15.0

type TestResponse_AssertDontSee_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertDontSee_Call) Run added in v1.15.0

func (*TestResponse_AssertDontSee_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertExactJson_Call added in v1.15.0

type TestResponse_AssertExactJson_Call struct {
	*mock.Call
}

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 (*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

type TestResponse_AssertFluentJson_Call added in v1.15.0

type TestResponse_AssertFluentJson_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertFluentJson_Call) Run added in v1.15.0

func (*TestResponse_AssertFluentJson_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertForbidden_Call added in v1.15.0

type TestResponse_AssertForbidden_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertForbidden_Call) Run added in v1.15.0

func (*TestResponse_AssertForbidden_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertFound_Call added in v1.15.0

type TestResponse_AssertFound_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertFound_Call) Run added in v1.15.0

func (*TestResponse_AssertFound_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertGone_Call added in v1.15.0

type TestResponse_AssertGone_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertGone_Call) Run added in v1.15.0

func (*TestResponse_AssertGone_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertHeaderMissing_Call added in v1.15.0

type TestResponse_AssertHeaderMissing_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertHeaderMissing_Call) Run added in v1.15.0

func (*TestResponse_AssertHeaderMissing_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertHeader_Call added in v1.15.0

type TestResponse_AssertHeader_Call struct {
	*mock.Call
}

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 (*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

type TestResponse_AssertInternalServerError_Call added in v1.15.0

type TestResponse_AssertInternalServerError_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertInternalServerError_Call) Run added in v1.15.0

func (*TestResponse_AssertInternalServerError_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertJsonMissing_Call added in v1.15.0

type TestResponse_AssertJsonMissing_Call struct {
	*mock.Call
}

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 (*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

type TestResponse_AssertJson_Call added in v1.15.0

type TestResponse_AssertJson_Call struct {
	*mock.Call
}

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 (*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

type TestResponse_AssertMethodNotAllowed_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertMethodNotAllowed_Call) Run added in v1.15.0

func (*TestResponse_AssertMethodNotAllowed_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertMovedPermanently_Call added in v1.15.0

type TestResponse_AssertMovedPermanently_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertMovedPermanently_Call) Run added in v1.15.0

func (*TestResponse_AssertMovedPermanently_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertNoContent_Call added in v1.15.0

type TestResponse_AssertNoContent_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertNoContent_Call) Run added in v1.15.0

func (*TestResponse_AssertNoContent_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertNotAcceptable_Call added in v1.15.0

type TestResponse_AssertNotAcceptable_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertNotAcceptable_Call) Run added in v1.15.0

func (*TestResponse_AssertNotAcceptable_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertNotFound_Call added in v1.15.0

type TestResponse_AssertNotFound_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertNotFound_Call) Run added in v1.15.0

func (*TestResponse_AssertNotFound_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertNotModified_Call added in v1.15.0

type TestResponse_AssertNotModified_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertNotModified_Call) Run added in v1.15.0

func (*TestResponse_AssertNotModified_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertOk_Call added in v1.15.0

type TestResponse_AssertOk_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertOk_Call) Run added in v1.15.0

func (*TestResponse_AssertOk_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertPartialContent_Call added in v1.15.0

type TestResponse_AssertPartialContent_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertPartialContent_Call) Run added in v1.15.0

func (*TestResponse_AssertPartialContent_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertPaymentRequired_Call added in v1.15.0

type TestResponse_AssertPaymentRequired_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertPaymentRequired_Call) Run added in v1.15.0

func (*TestResponse_AssertPaymentRequired_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertRequestTimeout_Call added in v1.15.0

type TestResponse_AssertRequestTimeout_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertRequestTimeout_Call) Run added in v1.15.0

func (*TestResponse_AssertRequestTimeout_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertSeeInOrder_Call added in v1.15.0

type TestResponse_AssertSeeInOrder_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertSeeInOrder_Call) Run added in v1.15.0

func (*TestResponse_AssertSeeInOrder_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertSee_Call added in v1.15.0

type TestResponse_AssertSee_Call struct {
	*mock.Call
}

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 (*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

type TestResponse_AssertServerError_Call added in v1.15.0

type TestResponse_AssertServerError_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertServerError_Call) Run added in v1.15.0

func (*TestResponse_AssertServerError_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertServiceUnavailable_Call added in v1.15.0

type TestResponse_AssertServiceUnavailable_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertServiceUnavailable_Call) Run added in v1.15.0

func (*TestResponse_AssertServiceUnavailable_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertStatus_Call added in v1.15.0

type TestResponse_AssertStatus_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertStatus_Call) Run added in v1.15.0

func (*TestResponse_AssertStatus_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertSuccessful_Call added in v1.15.0

type TestResponse_AssertSuccessful_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertSuccessful_Call) Run added in v1.15.0

func (*TestResponse_AssertSuccessful_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertTemporaryRedirect_Call added in v1.15.0

type TestResponse_AssertTemporaryRedirect_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertTemporaryRedirect_Call) Run added in v1.15.0

func (*TestResponse_AssertTemporaryRedirect_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertTooManyRequests_Call added in v1.15.0

type TestResponse_AssertTooManyRequests_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertTooManyRequests_Call) Run added in v1.15.0

func (*TestResponse_AssertTooManyRequests_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertUnauthorized_Call added in v1.15.0

type TestResponse_AssertUnauthorized_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertUnauthorized_Call) Run added in v1.15.0

func (*TestResponse_AssertUnauthorized_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertUnprocessableEntity_Call added in v1.15.0

type TestResponse_AssertUnprocessableEntity_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertUnprocessableEntity_Call) Run added in v1.15.0

func (*TestResponse_AssertUnprocessableEntity_Call) RunAndReturn added in v1.15.0

type TestResponse_AssertUnsupportedMediaType_Call added in v1.15.0

type TestResponse_AssertUnsupportedMediaType_Call struct {
	*mock.Call
}

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 (*TestResponse_AssertUnsupportedMediaType_Call) Run added in v1.15.0

func (*TestResponse_AssertUnsupportedMediaType_Call) RunAndReturn added in v1.15.0

type TestResponse_Content_Call added in v1.15.0

type TestResponse_Content_Call struct {
	*mock.Call
}

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 (*TestResponse_Content_Call) Run added in v1.15.0

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 struct {
	*mock.Call
}

TestResponse_Cookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookie'

func (_c *TestResponse_Cookie_Call) Run(run func(name string)) *TestResponse_Cookie_Call
func (_c *TestResponse_Cookie_Call) RunAndReturn(run func(string) *http.Cookie) *TestResponse_Cookie_Call

type TestResponse_Cookies_Call added in v1.15.0

type TestResponse_Cookies_Call struct {
	*mock.Call
}

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 (*TestResponse_Cookies_Call) Run added in v1.15.0

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

AssertAccepted is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertBadRequest added in v1.15.0

AssertBadRequest is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertConflict added in v1.15.0

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

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

AssertForbidden is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertFound added in v1.15.0

AssertFound is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertGone added in v1.15.0

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

AssertMethodNotAllowed is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertMovedPermanently added in v1.15.0

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

AssertNotAcceptable is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertNotFound added in v1.15.0

AssertNotFound is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertNotModified added in v1.15.0

AssertNotModified is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertOk added in v1.15.0

AssertOk is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertPartialContent added in v1.15.0

AssertPartialContent is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertPaymentRequired added in v1.15.0

AssertPaymentRequired is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertRequestTimeout added in v1.15.0

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

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

AssertSuccessful is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertTemporaryRedirect added in v1.15.0

AssertTemporaryRedirect is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertTooManyRequests added in v1.15.0

AssertTooManyRequests is a helper method to define mock.On call

func (*TestResponse_Expecter) AssertUnauthorized added in v1.15.0

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

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

Cookies is a helper method to define mock.On call

func (*TestResponse_Expecter) Headers added in v1.15.0

Headers is a helper method to define mock.On call

func (*TestResponse_Expecter) IsServerError added in v1.15.0

IsServerError is a helper method to define mock.On call

func (*TestResponse_Expecter) IsSuccessful added in v1.15.0

IsSuccessful is a helper method to define mock.On call

func (*TestResponse_Expecter) Json added in v1.15.0

Json is a helper method to define mock.On call

func (*TestResponse_Expecter) Session added in v1.15.0

Session is a helper method to define mock.On call

type TestResponse_Headers_Call added in v1.15.0

type TestResponse_Headers_Call struct {
	*mock.Call
}

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 (*TestResponse_Headers_Call) Run added in v1.15.0

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

type TestResponse_IsServerError_Call struct {
	*mock.Call
}

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 (*TestResponse_IsServerError_Call) Run added in v1.15.0

func (*TestResponse_IsServerError_Call) RunAndReturn added in v1.15.0

type TestResponse_IsSuccessful_Call added in v1.15.0

type TestResponse_IsSuccessful_Call struct {
	*mock.Call
}

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 (*TestResponse_IsSuccessful_Call) Run added in v1.15.0

func (*TestResponse_IsSuccessful_Call) RunAndReturn added in v1.15.0

type TestResponse_Json_Call added in v1.15.0

type TestResponse_Json_Call struct {
	*mock.Call
}

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

type TestResponse_Session_Call struct {
	*mock.Call
}

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 (*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

type Testing struct {
	mock.Mock
}

Testing is an autogenerated mock type for the Testing type

func NewTesting

func NewTesting(t interface {
	mock.TestingT
	Cleanup(func())
}) *Testing

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) Docker

func (_m *Testing) Docker() testing.Docker

Docker provides a mock function with no fields

func (*Testing) EXPECT

func (_m *Testing) EXPECT() *Testing_Expecter

type Testing_Docker_Call

type Testing_Docker_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL