fake

package
v0.0.0-...-fd23dd1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: OSL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns faked implementation of FormHandlerFactory interface which should deliver mocked domain.FormHandler instance

func NewFieldLevel

func NewFieldLevel(value interface{}, param string) *mocks.FieldLevel

NewFieldLevel is helper method to provide mocked instance of validator.FieldLevel interface

func NewStructLevel

func NewStructLevel(value interface{}) *mocks.StructLevel

NewStructLevel is helper method to provide mocked instance of validator.StructLevel interface

Types

type FormHandlerFactoryImpl

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

FormHandlerFactoryImpl defines faked implementation of FormHandlerFactory interface used for unit testing

func (*FormHandlerFactoryImpl) CreateFormHandlerWithFormService

func (f *FormHandlerFactoryImpl) CreateFormHandlerWithFormService(domain.FormService, ...string) domain.FormHandler

CreateFormHandlerWithFormService returns mocked instance of domain.FormHandler interface

func (*FormHandlerFactoryImpl) CreateFormHandlerWithFormServices

CreateFormHandlerWithFormServices returns mocked instance of domain.FormHandler interface

func (*FormHandlerFactoryImpl) CreateSimpleFormHandler

func (f *FormHandlerFactoryImpl) CreateSimpleFormHandler() domain.FormHandler

CreateSimpleFormHandler returns mocked instance of domain.FormHandler interface

func (*FormHandlerFactoryImpl) GetFormHandlerBuilder

func (f *FormHandlerFactoryImpl) GetFormHandlerBuilder() application.FormHandlerBuilder

GetFormHandlerBuilder returns faked instance of FormHandlerBuilder interface

Jump to

Keyboard shortcuts

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