mocks

package
v0.0.0-...-4a59535 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSerializer

type EventSerializer struct {
	mock.Mock
}

EventSerializer is an autogenerated mock type for the EventSerializer type

func NewEventSerializer

func NewEventSerializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventSerializer

NewEventSerializer creates a new instance of EventSerializer. 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 (*EventSerializer) ContentType

func (_m *EventSerializer) ContentType() string

ContentType provides a mock function with given fields:

func (*EventSerializer) Deserialize

func (_m *EventSerializer) Deserialize(data []byte, eventType string, contentType string) (domain.IDomainEvent, error)

Deserialize provides a mock function with given fields: data, eventType, contentType

func (*EventSerializer) DeserializeObject

func (_m *EventSerializer) DeserializeObject(data []byte, eventType string, contentType string) (interface{}, error)

DeserializeObject provides a mock function with given fields: data, eventType, contentType

func (*EventSerializer) DeserializeType

func (_m *EventSerializer) DeserializeType(data []byte, eventType reflect.Type, contentType string) (domain.IDomainEvent, error)

DeserializeType provides a mock function with given fields: data, eventType, contentType

func (*EventSerializer) EXPECT

func (*EventSerializer) Serialize

Serialize provides a mock function with given fields: event

func (*EventSerializer) SerializeObject

func (_m *EventSerializer) SerializeObject(event interface{}) (*serializer.EventSerializationResult, error)

SerializeObject provides a mock function with given fields: event

func (*EventSerializer) Serializer

func (_m *EventSerializer) Serializer() serializer.Serializer

Serializer provides a mock function with given fields:

type EventSerializer_ContentType_Call

type EventSerializer_ContentType_Call struct {
	*mock.Call
}

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

func (*EventSerializer_ContentType_Call) Return

func (*EventSerializer_ContentType_Call) Run

func (*EventSerializer_ContentType_Call) RunAndReturn

type EventSerializer_DeserializeObject_Call

type EventSerializer_DeserializeObject_Call struct {
	*mock.Call
}

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

func (*EventSerializer_DeserializeObject_Call) Return

func (*EventSerializer_DeserializeObject_Call) Run

func (_c *EventSerializer_DeserializeObject_Call) Run(run func(data []byte, eventType string, contentType string)) *EventSerializer_DeserializeObject_Call

func (*EventSerializer_DeserializeObject_Call) RunAndReturn

type EventSerializer_DeserializeType_Call

type EventSerializer_DeserializeType_Call struct {
	*mock.Call
}

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

func (*EventSerializer_DeserializeType_Call) Return

func (*EventSerializer_DeserializeType_Call) Run

func (_c *EventSerializer_DeserializeType_Call) Run(run func(data []byte, eventType reflect.Type, contentType string)) *EventSerializer_DeserializeType_Call

func (*EventSerializer_DeserializeType_Call) RunAndReturn

type EventSerializer_Deserialize_Call

type EventSerializer_Deserialize_Call struct {
	*mock.Call
}

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

func (*EventSerializer_Deserialize_Call) Return

func (*EventSerializer_Deserialize_Call) Run

func (_c *EventSerializer_Deserialize_Call) Run(run func(data []byte, eventType string, contentType string)) *EventSerializer_Deserialize_Call

func (*EventSerializer_Deserialize_Call) RunAndReturn

type EventSerializer_Expecter

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

func (*EventSerializer_Expecter) ContentType

ContentType is a helper method to define mock.On call

func (*EventSerializer_Expecter) Deserialize

func (_e *EventSerializer_Expecter) Deserialize(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_Deserialize_Call

Deserialize is a helper method to define mock.On call

  • data []byte
  • eventType string
  • contentType string

func (*EventSerializer_Expecter) DeserializeObject

func (_e *EventSerializer_Expecter) DeserializeObject(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_DeserializeObject_Call

DeserializeObject is a helper method to define mock.On call

  • data []byte
  • eventType string
  • contentType string

func (*EventSerializer_Expecter) DeserializeType

func (_e *EventSerializer_Expecter) DeserializeType(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_DeserializeType_Call

DeserializeType is a helper method to define mock.On call

  • data []byte
  • eventType reflect.Type
  • contentType string

func (*EventSerializer_Expecter) Serialize

func (_e *EventSerializer_Expecter) Serialize(event interface{}) *EventSerializer_Serialize_Call

Serialize is a helper method to define mock.On call

  • event domain.IDomainEvent

func (*EventSerializer_Expecter) SerializeObject

func (_e *EventSerializer_Expecter) SerializeObject(event interface{}) *EventSerializer_SerializeObject_Call

SerializeObject is a helper method to define mock.On call

  • event interface{}

func (*EventSerializer_Expecter) Serializer

Serializer is a helper method to define mock.On call

type EventSerializer_SerializeObject_Call

type EventSerializer_SerializeObject_Call struct {
	*mock.Call
}

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

func (*EventSerializer_SerializeObject_Call) Return

func (*EventSerializer_SerializeObject_Call) Run

func (_c *EventSerializer_SerializeObject_Call) Run(run func(event interface{})) *EventSerializer_SerializeObject_Call

func (*EventSerializer_SerializeObject_Call) RunAndReturn

type EventSerializer_Serialize_Call

type EventSerializer_Serialize_Call struct {
	*mock.Call
}

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

func (*EventSerializer_Serialize_Call) Return

func (*EventSerializer_Serialize_Call) Run

func (*EventSerializer_Serialize_Call) RunAndReturn

type EventSerializer_Serializer_Call

type EventSerializer_Serializer_Call struct {
	*mock.Call
}

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

func (*EventSerializer_Serializer_Call) Return

func (*EventSerializer_Serializer_Call) Run

func (*EventSerializer_Serializer_Call) RunAndReturn

type MessageSerializer

type MessageSerializer struct {
	mock.Mock
}

MessageSerializer is an autogenerated mock type for the MessageSerializer type

func NewMessageSerializer

func NewMessageSerializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MessageSerializer

NewMessageSerializer creates a new instance of MessageSerializer. 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 (*MessageSerializer) ContentType

func (_m *MessageSerializer) ContentType() string

ContentType provides a mock function with given fields:

func (*MessageSerializer) Deserialize

func (_m *MessageSerializer) Deserialize(data []byte, messageType string, contentType string) (types.IMessage, error)

Deserialize provides a mock function with given fields: data, messageType, contentType

func (*MessageSerializer) DeserializeObject

func (_m *MessageSerializer) DeserializeObject(data []byte, messageType string, contentType string) (interface{}, error)

DeserializeObject provides a mock function with given fields: data, messageType, contentType

func (*MessageSerializer) DeserializeType

func (_m *MessageSerializer) DeserializeType(data []byte, messageType reflect.Type, contentType string) (types.IMessage, error)

DeserializeType provides a mock function with given fields: data, messageType, contentType

func (*MessageSerializer) EXPECT

func (*MessageSerializer) Serialize

Serialize provides a mock function with given fields: message

func (*MessageSerializer) SerializeEnvelop

func (_m *MessageSerializer) SerializeEnvelop(messageEnvelop types.MessageEnvelope) (*serializer.EventSerializationResult, error)

SerializeEnvelop provides a mock function with given fields: messageEnvelop

func (*MessageSerializer) SerializeObject

func (_m *MessageSerializer) SerializeObject(message interface{}) (*serializer.EventSerializationResult, error)

SerializeObject provides a mock function with given fields: message

func (*MessageSerializer) Serializer

func (_m *MessageSerializer) Serializer() serializer.Serializer

Serializer provides a mock function with given fields:

type MessageSerializer_ContentType_Call

type MessageSerializer_ContentType_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_ContentType_Call) Return

func (*MessageSerializer_ContentType_Call) Run

func (*MessageSerializer_ContentType_Call) RunAndReturn

type MessageSerializer_DeserializeObject_Call

type MessageSerializer_DeserializeObject_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_DeserializeObject_Call) Return

func (*MessageSerializer_DeserializeObject_Call) Run

func (_c *MessageSerializer_DeserializeObject_Call) Run(run func(data []byte, messageType string, contentType string)) *MessageSerializer_DeserializeObject_Call

func (*MessageSerializer_DeserializeObject_Call) RunAndReturn

type MessageSerializer_DeserializeType_Call

type MessageSerializer_DeserializeType_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_DeserializeType_Call) Return

func (*MessageSerializer_DeserializeType_Call) Run

func (_c *MessageSerializer_DeserializeType_Call) Run(run func(data []byte, messageType reflect.Type, contentType string)) *MessageSerializer_DeserializeType_Call

func (*MessageSerializer_DeserializeType_Call) RunAndReturn

type MessageSerializer_Deserialize_Call

type MessageSerializer_Deserialize_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_Deserialize_Call) Return

func (*MessageSerializer_Deserialize_Call) Run

func (_c *MessageSerializer_Deserialize_Call) Run(run func(data []byte, messageType string, contentType string)) *MessageSerializer_Deserialize_Call

func (*MessageSerializer_Deserialize_Call) RunAndReturn

type MessageSerializer_Expecter

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

func (*MessageSerializer_Expecter) ContentType

ContentType is a helper method to define mock.On call

func (*MessageSerializer_Expecter) Deserialize

func (_e *MessageSerializer_Expecter) Deserialize(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_Deserialize_Call

Deserialize is a helper method to define mock.On call

  • data []byte
  • messageType string
  • contentType string

func (*MessageSerializer_Expecter) DeserializeObject

func (_e *MessageSerializer_Expecter) DeserializeObject(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_DeserializeObject_Call

DeserializeObject is a helper method to define mock.On call

  • data []byte
  • messageType string
  • contentType string

func (*MessageSerializer_Expecter) DeserializeType

func (_e *MessageSerializer_Expecter) DeserializeType(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_DeserializeType_Call

DeserializeType is a helper method to define mock.On call

  • data []byte
  • messageType reflect.Type
  • contentType string

func (*MessageSerializer_Expecter) Serialize

func (_e *MessageSerializer_Expecter) Serialize(message interface{}) *MessageSerializer_Serialize_Call

Serialize is a helper method to define mock.On call

  • message types.IMessage

func (*MessageSerializer_Expecter) SerializeEnvelop

func (_e *MessageSerializer_Expecter) SerializeEnvelop(messageEnvelop interface{}) *MessageSerializer_SerializeEnvelop_Call

SerializeEnvelop is a helper method to define mock.On call

  • messageEnvelop types.MessageEnvelope

func (*MessageSerializer_Expecter) SerializeObject

func (_e *MessageSerializer_Expecter) SerializeObject(message interface{}) *MessageSerializer_SerializeObject_Call

SerializeObject is a helper method to define mock.On call

  • message interface{}

func (*MessageSerializer_Expecter) Serializer

Serializer is a helper method to define mock.On call

type MessageSerializer_SerializeEnvelop_Call

type MessageSerializer_SerializeEnvelop_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_SerializeEnvelop_Call) Return

func (*MessageSerializer_SerializeEnvelop_Call) Run

type MessageSerializer_SerializeObject_Call

type MessageSerializer_SerializeObject_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_SerializeObject_Call) Return

func (*MessageSerializer_SerializeObject_Call) Run

func (*MessageSerializer_SerializeObject_Call) RunAndReturn

type MessageSerializer_Serialize_Call

type MessageSerializer_Serialize_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_Serialize_Call) Return

func (*MessageSerializer_Serialize_Call) Run

func (*MessageSerializer_Serialize_Call) RunAndReturn

type MessageSerializer_Serializer_Call

type MessageSerializer_Serializer_Call struct {
	*mock.Call
}

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

func (*MessageSerializer_Serializer_Call) Return

func (*MessageSerializer_Serializer_Call) Run

func (*MessageSerializer_Serializer_Call) RunAndReturn

type MetadataSerializer

type MetadataSerializer struct {
	mock.Mock
}

MetadataSerializer is an autogenerated mock type for the MetadataSerializer type

func NewMetadataSerializer

func NewMetadataSerializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetadataSerializer

NewMetadataSerializer creates a new instance of MetadataSerializer. 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 (*MetadataSerializer) Deserialize

func (_m *MetadataSerializer) Deserialize(bytes []byte) (metadata.Metadata, error)

Deserialize provides a mock function with given fields: bytes

func (*MetadataSerializer) EXPECT

func (*MetadataSerializer) Serialize

func (_m *MetadataSerializer) Serialize(meta metadata.Metadata) ([]byte, error)

Serialize provides a mock function with given fields: meta

type MetadataSerializer_Deserialize_Call

type MetadataSerializer_Deserialize_Call struct {
	*mock.Call
}

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

func (*MetadataSerializer_Deserialize_Call) Return

func (*MetadataSerializer_Deserialize_Call) Run

func (*MetadataSerializer_Deserialize_Call) RunAndReturn

type MetadataSerializer_Expecter

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

func (*MetadataSerializer_Expecter) Deserialize

func (_e *MetadataSerializer_Expecter) Deserialize(bytes interface{}) *MetadataSerializer_Deserialize_Call

Deserialize is a helper method to define mock.On call

  • bytes []byte

func (*MetadataSerializer_Expecter) Serialize

func (_e *MetadataSerializer_Expecter) Serialize(meta interface{}) *MetadataSerializer_Serialize_Call

Serialize is a helper method to define mock.On call

  • meta metadata.Metadata

type MetadataSerializer_Serialize_Call

type MetadataSerializer_Serialize_Call struct {
	*mock.Call
}

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

func (*MetadataSerializer_Serialize_Call) Return

func (*MetadataSerializer_Serialize_Call) Run

func (*MetadataSerializer_Serialize_Call) RunAndReturn

type Serializer

type Serializer struct {
	mock.Mock
}

Serializer is an autogenerated mock type for the Serializer type

func NewSerializer

func NewSerializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Serializer

NewSerializer creates a new instance of Serializer. 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 (*Serializer) ColoredPrettyPrint

func (_m *Serializer) ColoredPrettyPrint(data interface{}) string

ColoredPrettyPrint provides a mock function with given fields: data

func (*Serializer) DecodeWithMapStructure

func (_m *Serializer) DecodeWithMapStructure(input interface{}, output interface{}) error

DecodeWithMapStructure provides a mock function with given fields: input, output

func (*Serializer) EXPECT

func (_m *Serializer) EXPECT() *Serializer_Expecter

func (*Serializer) Marshal

func (_m *Serializer) Marshal(v interface{}) ([]byte, error)

Marshal provides a mock function with given fields: v

func (*Serializer) PrettyPrint

func (_m *Serializer) PrettyPrint(data interface{}) string

PrettyPrint provides a mock function with given fields: data

func (*Serializer) Unmarshal

func (_m *Serializer) Unmarshal(data []byte, v interface{}) error

Unmarshal provides a mock function with given fields: data, v

func (*Serializer) UnmarshalFromJson

func (_m *Serializer) UnmarshalFromJson(data string, v interface{}) error

UnmarshalFromJson provides a mock function with given fields: data, v

func (*Serializer) UnmarshalToMap

func (_m *Serializer) UnmarshalToMap(data []byte, v *map[string]interface{}) error

UnmarshalToMap provides a mock function with given fields: data, v

func (*Serializer) UnmarshalToMapFromJson

func (_m *Serializer) UnmarshalToMapFromJson(data string, v *map[string]interface{}) error

UnmarshalToMapFromJson provides a mock function with given fields: data, v

type Serializer_ColoredPrettyPrint_Call

type Serializer_ColoredPrettyPrint_Call struct {
	*mock.Call
}

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

func (*Serializer_ColoredPrettyPrint_Call) Return

func (*Serializer_ColoredPrettyPrint_Call) Run

func (_c *Serializer_ColoredPrettyPrint_Call) Run(run func(data interface{})) *Serializer_ColoredPrettyPrint_Call

func (*Serializer_ColoredPrettyPrint_Call) RunAndReturn

func (_c *Serializer_ColoredPrettyPrint_Call) RunAndReturn(run func(interface{}) string) *Serializer_ColoredPrettyPrint_Call

type Serializer_DecodeWithMapStructure_Call

type Serializer_DecodeWithMapStructure_Call struct {
	*mock.Call
}

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

func (*Serializer_DecodeWithMapStructure_Call) Return

func (*Serializer_DecodeWithMapStructure_Call) Run

func (_c *Serializer_DecodeWithMapStructure_Call) Run(run func(input interface{}, output interface{})) *Serializer_DecodeWithMapStructure_Call

func (*Serializer_DecodeWithMapStructure_Call) RunAndReturn

func (_c *Serializer_DecodeWithMapStructure_Call) RunAndReturn(run func(interface{}, interface{}) error) *Serializer_DecodeWithMapStructure_Call

type Serializer_Expecter

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

func (*Serializer_Expecter) ColoredPrettyPrint

func (_e *Serializer_Expecter) ColoredPrettyPrint(data interface{}) *Serializer_ColoredPrettyPrint_Call

ColoredPrettyPrint is a helper method to define mock.On call

  • data interface{}

func (*Serializer_Expecter) DecodeWithMapStructure

func (_e *Serializer_Expecter) DecodeWithMapStructure(input interface{}, output interface{}) *Serializer_DecodeWithMapStructure_Call

DecodeWithMapStructure is a helper method to define mock.On call

  • input interface{}
  • output interface{}

func (*Serializer_Expecter) Marshal

func (_e *Serializer_Expecter) Marshal(v interface{}) *Serializer_Marshal_Call

Marshal is a helper method to define mock.On call

  • v interface{}

func (*Serializer_Expecter) PrettyPrint

func (_e *Serializer_Expecter) PrettyPrint(data interface{}) *Serializer_PrettyPrint_Call

PrettyPrint is a helper method to define mock.On call

  • data interface{}

func (*Serializer_Expecter) Unmarshal

func (_e *Serializer_Expecter) Unmarshal(data interface{}, v interface{}) *Serializer_Unmarshal_Call

Unmarshal is a helper method to define mock.On call

  • data []byte
  • v interface{}

func (*Serializer_Expecter) UnmarshalFromJson

func (_e *Serializer_Expecter) UnmarshalFromJson(data interface{}, v interface{}) *Serializer_UnmarshalFromJson_Call

UnmarshalFromJson is a helper method to define mock.On call

  • data string
  • v interface{}

func (*Serializer_Expecter) UnmarshalToMap

func (_e *Serializer_Expecter) UnmarshalToMap(data interface{}, v interface{}) *Serializer_UnmarshalToMap_Call

UnmarshalToMap is a helper method to define mock.On call

  • data []byte
  • v *map[string]interface{}

func (*Serializer_Expecter) UnmarshalToMapFromJson

func (_e *Serializer_Expecter) UnmarshalToMapFromJson(data interface{}, v interface{}) *Serializer_UnmarshalToMapFromJson_Call

UnmarshalToMapFromJson is a helper method to define mock.On call

  • data string
  • v *map[string]interface{}

type Serializer_Marshal_Call

type Serializer_Marshal_Call struct {
	*mock.Call
}

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

func (*Serializer_Marshal_Call) Return

func (*Serializer_Marshal_Call) Run

func (_c *Serializer_Marshal_Call) Run(run func(v interface{})) *Serializer_Marshal_Call

func (*Serializer_Marshal_Call) RunAndReturn

func (_c *Serializer_Marshal_Call) RunAndReturn(run func(interface{}) ([]byte, error)) *Serializer_Marshal_Call

type Serializer_PrettyPrint_Call

type Serializer_PrettyPrint_Call struct {
	*mock.Call
}

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

func (*Serializer_PrettyPrint_Call) Return

func (*Serializer_PrettyPrint_Call) Run

func (_c *Serializer_PrettyPrint_Call) Run(run func(data interface{})) *Serializer_PrettyPrint_Call

func (*Serializer_PrettyPrint_Call) RunAndReturn

func (_c *Serializer_PrettyPrint_Call) RunAndReturn(run func(interface{}) string) *Serializer_PrettyPrint_Call

type Serializer_UnmarshalFromJson_Call

type Serializer_UnmarshalFromJson_Call struct {
	*mock.Call
}

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

func (*Serializer_UnmarshalFromJson_Call) Return

func (*Serializer_UnmarshalFromJson_Call) Run

func (_c *Serializer_UnmarshalFromJson_Call) Run(run func(data string, v interface{})) *Serializer_UnmarshalFromJson_Call

func (*Serializer_UnmarshalFromJson_Call) RunAndReturn

func (_c *Serializer_UnmarshalFromJson_Call) RunAndReturn(run func(string, interface{}) error) *Serializer_UnmarshalFromJson_Call

type Serializer_UnmarshalToMapFromJson_Call

type Serializer_UnmarshalToMapFromJson_Call struct {
	*mock.Call
}

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

func (*Serializer_UnmarshalToMapFromJson_Call) Return

func (*Serializer_UnmarshalToMapFromJson_Call) Run

func (*Serializer_UnmarshalToMapFromJson_Call) RunAndReturn

type Serializer_UnmarshalToMap_Call

type Serializer_UnmarshalToMap_Call struct {
	*mock.Call
}

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

func (*Serializer_UnmarshalToMap_Call) Return

func (*Serializer_UnmarshalToMap_Call) Run

func (_c *Serializer_UnmarshalToMap_Call) Run(run func(data []byte, v *map[string]interface{})) *Serializer_UnmarshalToMap_Call

func (*Serializer_UnmarshalToMap_Call) RunAndReturn

func (_c *Serializer_UnmarshalToMap_Call) RunAndReturn(run func([]byte, *map[string]interface{}) error) *Serializer_UnmarshalToMap_Call

type Serializer_Unmarshal_Call

type Serializer_Unmarshal_Call struct {
	*mock.Call
}

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

func (*Serializer_Unmarshal_Call) Return

func (*Serializer_Unmarshal_Call) Run

func (_c *Serializer_Unmarshal_Call) Run(run func(data []byte, v interface{})) *Serializer_Unmarshal_Call

func (*Serializer_Unmarshal_Call) RunAndReturn

func (_c *Serializer_Unmarshal_Call) RunAndReturn(run func([]byte, interface{}) error) *Serializer_Unmarshal_Call

Jump to

Keyboard shortcuts

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