automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstraintReferenceConverter

type ConstraintReferenceConverter struct {
	mock.Mock
}

ConstraintReferenceConverter is an autogenerated mock type for the constraintReferenceConverter type

func NewConstraintReferenceConverter

func NewConstraintReferenceConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConstraintReferenceConverter

NewConstraintReferenceConverter creates a new instance of ConstraintReferenceConverter. 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 (*ConstraintReferenceConverter) FromEntity

FromEntity provides a mock function with given fields: e

func (*ConstraintReferenceConverter) ToEntity

ToEntity provides a mock function with given fields: in

func (*ConstraintReferenceConverter) ToGraphql

ToGraphql provides a mock function with given fields: in

func (*ConstraintReferenceConverter) ToModel

ToModel provides a mock function with given fields: in

type ConstraintReferenceService

type ConstraintReferenceService struct {
	mock.Mock
}

ConstraintReferenceService is an autogenerated mock type for the constraintReferenceService type

func NewConstraintReferenceService

func NewConstraintReferenceService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConstraintReferenceService

NewConstraintReferenceService creates a new instance of ConstraintReferenceService. 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 (*ConstraintReferenceService) Create

Create provides a mock function with given fields: ctx, in

func (*ConstraintReferenceService) Delete

func (_m *ConstraintReferenceService) Delete(ctx context.Context, constraintID string, formationTemplateID string) error

Delete provides a mock function with given fields: ctx, constraintID, formationTemplateID

type FormationTemplateConstraintReferenceRepository

type FormationTemplateConstraintReferenceRepository struct {
	mock.Mock
}

FormationTemplateConstraintReferenceRepository is an autogenerated mock type for the formationTemplateConstraintReferenceRepository type

func NewFormationTemplateConstraintReferenceRepository

func NewFormationTemplateConstraintReferenceRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *FormationTemplateConstraintReferenceRepository

NewFormationTemplateConstraintReferenceRepository creates a new instance of FormationTemplateConstraintReferenceRepository. 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 (*FormationTemplateConstraintReferenceRepository) Create

Create provides a mock function with given fields: ctx, item

func (*FormationTemplateConstraintReferenceRepository) Delete

func (_m *FormationTemplateConstraintReferenceRepository) Delete(ctx context.Context, formationTemplateID string, constraintID string) error

Delete provides a mock function with given fields: ctx, formationTemplateID, constraintID

Jump to

Keyboard shortcuts

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