mocks

package
v0.0.0-...-40f0f07 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PropertiesRepository

type PropertiesRepository struct {
	mock.Mock
}

PropertiesRepository is an autogenerated mock type for the PropertiesRepository type

func NewPropertiesRepository

func NewPropertiesRepository(t mockConstructorTestingTNewPropertiesRepository) *PropertiesRepository

NewPropertiesRepository creates a new instance of PropertiesRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*PropertiesRepository) Fetch

Fetch provides a mock function with given fields: c

func (*PropertiesRepository) FetchByApplicationAndProfile

func (_m *PropertiesRepository) FetchByApplicationAndProfile(c context.Context, application string, profile string) ([]domain.Properties, error)

FetchByApplicationAndProfile provides a mock function with given fields: c, application, profile

type PropertiesUseCase

type PropertiesUseCase struct {
	mock.Mock
}

PropertiesUseCase is an autogenerated mock type for the PropertiesUseCase type

func NewPropertiesUseCase

func NewPropertiesUseCase(t mockConstructorTestingTNewPropertiesUseCase) *PropertiesUseCase

NewPropertiesUseCase creates a new instance of PropertiesUseCase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*PropertiesUseCase) GetByApplicationAndProfile

func (_m *PropertiesUseCase) GetByApplicationAndProfile(c context.Context, application string, profile string) ([]domain.Properties, error)

GetByApplicationAndProfile provides a mock function with given fields: c, application, profile

func (*PropertiesUseCase) GetProperties

func (_m *PropertiesUseCase) GetProperties(c context.Context) ([]domain.Properties, error)

GetProperties provides a mock function with given fields: c

Jump to

Keyboard shortcuts

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