Documentation ¶
Index ¶
- type EventSerializer
- func (_m *EventSerializer) ContentType() string
- func (_m *EventSerializer) Deserialize(data []byte, eventType string, contentType string) (domain.IDomainEvent, error)
- func (_m *EventSerializer) DeserializeObject(data []byte, eventType string, contentType string) (interface{}, error)
- func (_m *EventSerializer) DeserializeType(data []byte, eventType reflect.Type, contentType string) (domain.IDomainEvent, error)
- func (_m *EventSerializer) EXPECT() *EventSerializer_Expecter
- func (_m *EventSerializer) Serialize(event domain.IDomainEvent) (*serializer.EventSerializationResult, error)
- func (_m *EventSerializer) SerializeObject(event interface{}) (*serializer.EventSerializationResult, error)
- func (_m *EventSerializer) Serializer() serializer.Serializer
- type EventSerializer_ContentType_Call
- func (_c *EventSerializer_ContentType_Call) Return(_a0 string) *EventSerializer_ContentType_Call
- func (_c *EventSerializer_ContentType_Call) Run(run func()) *EventSerializer_ContentType_Call
- func (_c *EventSerializer_ContentType_Call) RunAndReturn(run func() string) *EventSerializer_ContentType_Call
- type EventSerializer_DeserializeObject_Call
- func (_c *EventSerializer_DeserializeObject_Call) Return(_a0 interface{}, _a1 error) *EventSerializer_DeserializeObject_Call
- func (_c *EventSerializer_DeserializeObject_Call) Run(run func(data []byte, eventType string, contentType string)) *EventSerializer_DeserializeObject_Call
- func (_c *EventSerializer_DeserializeObject_Call) RunAndReturn(run func([]byte, string, string) (interface{}, error)) *EventSerializer_DeserializeObject_Call
- type EventSerializer_DeserializeType_Call
- func (_c *EventSerializer_DeserializeType_Call) Return(_a0 domain.IDomainEvent, _a1 error) *EventSerializer_DeserializeType_Call
- func (_c *EventSerializer_DeserializeType_Call) Run(run func(data []byte, eventType reflect.Type, contentType string)) *EventSerializer_DeserializeType_Call
- func (_c *EventSerializer_DeserializeType_Call) RunAndReturn(run func([]byte, reflect.Type, string) (domain.IDomainEvent, error)) *EventSerializer_DeserializeType_Call
- type EventSerializer_Deserialize_Call
- func (_c *EventSerializer_Deserialize_Call) Return(_a0 domain.IDomainEvent, _a1 error) *EventSerializer_Deserialize_Call
- func (_c *EventSerializer_Deserialize_Call) Run(run func(data []byte, eventType string, contentType string)) *EventSerializer_Deserialize_Call
- func (_c *EventSerializer_Deserialize_Call) RunAndReturn(run func([]byte, string, string) (domain.IDomainEvent, error)) *EventSerializer_Deserialize_Call
- type EventSerializer_Expecter
- func (_e *EventSerializer_Expecter) ContentType() *EventSerializer_ContentType_Call
- func (_e *EventSerializer_Expecter) Deserialize(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_Deserialize_Call
- func (_e *EventSerializer_Expecter) DeserializeObject(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_DeserializeObject_Call
- func (_e *EventSerializer_Expecter) DeserializeType(data interface{}, eventType interface{}, contentType interface{}) *EventSerializer_DeserializeType_Call
- func (_e *EventSerializer_Expecter) Serialize(event interface{}) *EventSerializer_Serialize_Call
- func (_e *EventSerializer_Expecter) SerializeObject(event interface{}) *EventSerializer_SerializeObject_Call
- func (_e *EventSerializer_Expecter) Serializer() *EventSerializer_Serializer_Call
- type EventSerializer_SerializeObject_Call
- func (_c *EventSerializer_SerializeObject_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *EventSerializer_SerializeObject_Call
- func (_c *EventSerializer_SerializeObject_Call) Run(run func(event interface{})) *EventSerializer_SerializeObject_Call
- func (_c *EventSerializer_SerializeObject_Call) RunAndReturn(run func(interface{}) (*serializer.EventSerializationResult, error)) *EventSerializer_SerializeObject_Call
- type EventSerializer_Serialize_Call
- func (_c *EventSerializer_Serialize_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *EventSerializer_Serialize_Call
- func (_c *EventSerializer_Serialize_Call) Run(run func(event domain.IDomainEvent)) *EventSerializer_Serialize_Call
- func (_c *EventSerializer_Serialize_Call) RunAndReturn(run func(domain.IDomainEvent) (*serializer.EventSerializationResult, error)) *EventSerializer_Serialize_Call
- type EventSerializer_Serializer_Call
- func (_c *EventSerializer_Serializer_Call) Return(_a0 serializer.Serializer) *EventSerializer_Serializer_Call
- func (_c *EventSerializer_Serializer_Call) Run(run func()) *EventSerializer_Serializer_Call
- func (_c *EventSerializer_Serializer_Call) RunAndReturn(run func() serializer.Serializer) *EventSerializer_Serializer_Call
- type MessageSerializer
- func (_m *MessageSerializer) ContentType() string
- func (_m *MessageSerializer) Deserialize(data []byte, messageType string, contentType string) (types.IMessage, error)
- func (_m *MessageSerializer) DeserializeObject(data []byte, messageType string, contentType string) (interface{}, error)
- func (_m *MessageSerializer) DeserializeType(data []byte, messageType reflect.Type, contentType string) (types.IMessage, error)
- func (_m *MessageSerializer) EXPECT() *MessageSerializer_Expecter
- func (_m *MessageSerializer) Serialize(message types.IMessage) (*serializer.EventSerializationResult, error)
- func (_m *MessageSerializer) SerializeEnvelop(messageEnvelop types.MessageEnvelope) (*serializer.EventSerializationResult, error)
- func (_m *MessageSerializer) SerializeObject(message interface{}) (*serializer.EventSerializationResult, error)
- func (_m *MessageSerializer) Serializer() serializer.Serializer
- type MessageSerializer_ContentType_Call
- func (_c *MessageSerializer_ContentType_Call) Return(_a0 string) *MessageSerializer_ContentType_Call
- func (_c *MessageSerializer_ContentType_Call) Run(run func()) *MessageSerializer_ContentType_Call
- func (_c *MessageSerializer_ContentType_Call) RunAndReturn(run func() string) *MessageSerializer_ContentType_Call
- type MessageSerializer_DeserializeObject_Call
- func (_c *MessageSerializer_DeserializeObject_Call) Return(_a0 interface{}, _a1 error) *MessageSerializer_DeserializeObject_Call
- func (_c *MessageSerializer_DeserializeObject_Call) Run(run func(data []byte, messageType string, contentType string)) *MessageSerializer_DeserializeObject_Call
- func (_c *MessageSerializer_DeserializeObject_Call) RunAndReturn(run func([]byte, string, string) (interface{}, error)) *MessageSerializer_DeserializeObject_Call
- type MessageSerializer_DeserializeType_Call
- func (_c *MessageSerializer_DeserializeType_Call) Return(_a0 types.IMessage, _a1 error) *MessageSerializer_DeserializeType_Call
- func (_c *MessageSerializer_DeserializeType_Call) Run(run func(data []byte, messageType reflect.Type, contentType string)) *MessageSerializer_DeserializeType_Call
- func (_c *MessageSerializer_DeserializeType_Call) RunAndReturn(run func([]byte, reflect.Type, string) (types.IMessage, error)) *MessageSerializer_DeserializeType_Call
- type MessageSerializer_Deserialize_Call
- func (_c *MessageSerializer_Deserialize_Call) Return(_a0 types.IMessage, _a1 error) *MessageSerializer_Deserialize_Call
- func (_c *MessageSerializer_Deserialize_Call) Run(run func(data []byte, messageType string, contentType string)) *MessageSerializer_Deserialize_Call
- func (_c *MessageSerializer_Deserialize_Call) RunAndReturn(run func([]byte, string, string) (types.IMessage, error)) *MessageSerializer_Deserialize_Call
- type MessageSerializer_Expecter
- func (_e *MessageSerializer_Expecter) ContentType() *MessageSerializer_ContentType_Call
- func (_e *MessageSerializer_Expecter) Deserialize(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_Deserialize_Call
- func (_e *MessageSerializer_Expecter) DeserializeObject(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_DeserializeObject_Call
- func (_e *MessageSerializer_Expecter) DeserializeType(data interface{}, messageType interface{}, contentType interface{}) *MessageSerializer_DeserializeType_Call
- func (_e *MessageSerializer_Expecter) Serialize(message interface{}) *MessageSerializer_Serialize_Call
- func (_e *MessageSerializer_Expecter) SerializeEnvelop(messageEnvelop interface{}) *MessageSerializer_SerializeEnvelop_Call
- func (_e *MessageSerializer_Expecter) SerializeObject(message interface{}) *MessageSerializer_SerializeObject_Call
- func (_e *MessageSerializer_Expecter) Serializer() *MessageSerializer_Serializer_Call
- type MessageSerializer_SerializeEnvelop_Call
- func (_c *MessageSerializer_SerializeEnvelop_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_SerializeEnvelop_Call
- func (_c *MessageSerializer_SerializeEnvelop_Call) Run(run func(messageEnvelop types.MessageEnvelope)) *MessageSerializer_SerializeEnvelop_Call
- func (_c *MessageSerializer_SerializeEnvelop_Call) RunAndReturn(run func(types.MessageEnvelope) (*serializer.EventSerializationResult, error)) *MessageSerializer_SerializeEnvelop_Call
- type MessageSerializer_SerializeObject_Call
- func (_c *MessageSerializer_SerializeObject_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_SerializeObject_Call
- func (_c *MessageSerializer_SerializeObject_Call) Run(run func(message interface{})) *MessageSerializer_SerializeObject_Call
- func (_c *MessageSerializer_SerializeObject_Call) RunAndReturn(run func(interface{}) (*serializer.EventSerializationResult, error)) *MessageSerializer_SerializeObject_Call
- type MessageSerializer_Serialize_Call
- func (_c *MessageSerializer_Serialize_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_Serialize_Call
- func (_c *MessageSerializer_Serialize_Call) Run(run func(message types.IMessage)) *MessageSerializer_Serialize_Call
- func (_c *MessageSerializer_Serialize_Call) RunAndReturn(run func(types.IMessage) (*serializer.EventSerializationResult, error)) *MessageSerializer_Serialize_Call
- type MessageSerializer_Serializer_Call
- func (_c *MessageSerializer_Serializer_Call) Return(_a0 serializer.Serializer) *MessageSerializer_Serializer_Call
- func (_c *MessageSerializer_Serializer_Call) Run(run func()) *MessageSerializer_Serializer_Call
- func (_c *MessageSerializer_Serializer_Call) RunAndReturn(run func() serializer.Serializer) *MessageSerializer_Serializer_Call
- type MetadataSerializer
- type MetadataSerializer_Deserialize_Call
- func (_c *MetadataSerializer_Deserialize_Call) Return(_a0 metadata.Metadata, _a1 error) *MetadataSerializer_Deserialize_Call
- func (_c *MetadataSerializer_Deserialize_Call) Run(run func(bytes []byte)) *MetadataSerializer_Deserialize_Call
- func (_c *MetadataSerializer_Deserialize_Call) RunAndReturn(run func([]byte) (metadata.Metadata, error)) *MetadataSerializer_Deserialize_Call
- type MetadataSerializer_Expecter
- type MetadataSerializer_Serialize_Call
- func (_c *MetadataSerializer_Serialize_Call) Return(_a0 []byte, _a1 error) *MetadataSerializer_Serialize_Call
- func (_c *MetadataSerializer_Serialize_Call) Run(run func(meta metadata.Metadata)) *MetadataSerializer_Serialize_Call
- func (_c *MetadataSerializer_Serialize_Call) RunAndReturn(run func(metadata.Metadata) ([]byte, error)) *MetadataSerializer_Serialize_Call
- type Serializer
- func (_m *Serializer) ColoredPrettyPrint(data interface{}) string
- func (_m *Serializer) DecodeWithMapStructure(input interface{}, output interface{}) error
- func (_m *Serializer) EXPECT() *Serializer_Expecter
- func (_m *Serializer) Marshal(v interface{}) ([]byte, error)
- func (_m *Serializer) PrettyPrint(data interface{}) string
- func (_m *Serializer) Unmarshal(data []byte, v interface{}) error
- func (_m *Serializer) UnmarshalFromJson(data string, v interface{}) error
- func (_m *Serializer) UnmarshalToMap(data []byte, v *map[string]interface{}) error
- func (_m *Serializer) UnmarshalToMapFromJson(data string, v *map[string]interface{}) error
- type Serializer_ColoredPrettyPrint_Call
- func (_c *Serializer_ColoredPrettyPrint_Call) Return(_a0 string) *Serializer_ColoredPrettyPrint_Call
- func (_c *Serializer_ColoredPrettyPrint_Call) Run(run func(data interface{})) *Serializer_ColoredPrettyPrint_Call
- func (_c *Serializer_ColoredPrettyPrint_Call) RunAndReturn(run func(interface{}) string) *Serializer_ColoredPrettyPrint_Call
- type Serializer_DecodeWithMapStructure_Call
- func (_c *Serializer_DecodeWithMapStructure_Call) Return(_a0 error) *Serializer_DecodeWithMapStructure_Call
- func (_c *Serializer_DecodeWithMapStructure_Call) Run(run func(input interface{}, output interface{})) *Serializer_DecodeWithMapStructure_Call
- func (_c *Serializer_DecodeWithMapStructure_Call) RunAndReturn(run func(interface{}, interface{}) error) *Serializer_DecodeWithMapStructure_Call
- type Serializer_Expecter
- func (_e *Serializer_Expecter) ColoredPrettyPrint(data interface{}) *Serializer_ColoredPrettyPrint_Call
- func (_e *Serializer_Expecter) DecodeWithMapStructure(input interface{}, output interface{}) *Serializer_DecodeWithMapStructure_Call
- func (_e *Serializer_Expecter) Marshal(v interface{}) *Serializer_Marshal_Call
- func (_e *Serializer_Expecter) PrettyPrint(data interface{}) *Serializer_PrettyPrint_Call
- func (_e *Serializer_Expecter) Unmarshal(data interface{}, v interface{}) *Serializer_Unmarshal_Call
- func (_e *Serializer_Expecter) UnmarshalFromJson(data interface{}, v interface{}) *Serializer_UnmarshalFromJson_Call
- func (_e *Serializer_Expecter) UnmarshalToMap(data interface{}, v interface{}) *Serializer_UnmarshalToMap_Call
- func (_e *Serializer_Expecter) UnmarshalToMapFromJson(data interface{}, v interface{}) *Serializer_UnmarshalToMapFromJson_Call
- type Serializer_Marshal_Call
- type Serializer_PrettyPrint_Call
- type Serializer_UnmarshalFromJson_Call
- func (_c *Serializer_UnmarshalFromJson_Call) Return(_a0 error) *Serializer_UnmarshalFromJson_Call
- func (_c *Serializer_UnmarshalFromJson_Call) Run(run func(data string, v interface{})) *Serializer_UnmarshalFromJson_Call
- func (_c *Serializer_UnmarshalFromJson_Call) RunAndReturn(run func(string, interface{}) error) *Serializer_UnmarshalFromJson_Call
- type Serializer_UnmarshalToMapFromJson_Call
- func (_c *Serializer_UnmarshalToMapFromJson_Call) Return(_a0 error) *Serializer_UnmarshalToMapFromJson_Call
- func (_c *Serializer_UnmarshalToMapFromJson_Call) Run(run func(data string, v *map[string]interface{})) *Serializer_UnmarshalToMapFromJson_Call
- func (_c *Serializer_UnmarshalToMapFromJson_Call) RunAndReturn(run func(string, *map[string]interface{}) error) *Serializer_UnmarshalToMapFromJson_Call
- type Serializer_UnmarshalToMap_Call
- func (_c *Serializer_UnmarshalToMap_Call) Return(_a0 error) *Serializer_UnmarshalToMap_Call
- func (_c *Serializer_UnmarshalToMap_Call) Run(run func(data []byte, v *map[string]interface{})) *Serializer_UnmarshalToMap_Call
- func (_c *Serializer_UnmarshalToMap_Call) RunAndReturn(run func([]byte, *map[string]interface{}) error) *Serializer_UnmarshalToMap_Call
- type Serializer_Unmarshal_Call
- func (_c *Serializer_Unmarshal_Call) Return(_a0 error) *Serializer_Unmarshal_Call
- func (_c *Serializer_Unmarshal_Call) Run(run func(data []byte, v interface{})) *Serializer_Unmarshal_Call
- func (_c *Serializer_Unmarshal_Call) RunAndReturn(run func([]byte, interface{}) error) *Serializer_Unmarshal_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSerializer ¶
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 (_m *EventSerializer) EXPECT() *EventSerializer_Expecter
func (*EventSerializer) Serialize ¶
func (_m *EventSerializer) Serialize(event domain.IDomainEvent) (*serializer.EventSerializationResult, error)
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 ¶
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 (_c *EventSerializer_ContentType_Call) Return(_a0 string) *EventSerializer_ContentType_Call
func (*EventSerializer_ContentType_Call) Run ¶
func (_c *EventSerializer_ContentType_Call) Run(run func()) *EventSerializer_ContentType_Call
func (*EventSerializer_ContentType_Call) RunAndReturn ¶
func (_c *EventSerializer_ContentType_Call) RunAndReturn(run func() string) *EventSerializer_ContentType_Call
type EventSerializer_DeserializeObject_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 (_c *EventSerializer_DeserializeObject_Call) Return(_a0 interface{}, _a1 error) *EventSerializer_DeserializeObject_Call
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 ¶
func (_c *EventSerializer_DeserializeObject_Call) RunAndReturn(run func([]byte, string, string) (interface{}, error)) *EventSerializer_DeserializeObject_Call
type EventSerializer_DeserializeType_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 (_c *EventSerializer_DeserializeType_Call) Return(_a0 domain.IDomainEvent, _a1 error) *EventSerializer_DeserializeType_Call
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 ¶
func (_c *EventSerializer_DeserializeType_Call) RunAndReturn(run func([]byte, reflect.Type, string) (domain.IDomainEvent, error)) *EventSerializer_DeserializeType_Call
type EventSerializer_Deserialize_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 (_c *EventSerializer_Deserialize_Call) Return(_a0 domain.IDomainEvent, _a1 error) *EventSerializer_Deserialize_Call
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 ¶
func (_c *EventSerializer_Deserialize_Call) RunAndReturn(run func([]byte, string, string) (domain.IDomainEvent, error)) *EventSerializer_Deserialize_Call
type EventSerializer_Expecter ¶
type EventSerializer_Expecter struct {
// contains filtered or unexported fields
}
func (*EventSerializer_Expecter) ContentType ¶
func (_e *EventSerializer_Expecter) ContentType() *EventSerializer_ContentType_Call
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 ¶
func (_e *EventSerializer_Expecter) Serializer() *EventSerializer_Serializer_Call
Serializer is a helper method to define mock.On call
type EventSerializer_SerializeObject_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 (_c *EventSerializer_SerializeObject_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *EventSerializer_SerializeObject_Call
func (*EventSerializer_SerializeObject_Call) Run ¶
func (_c *EventSerializer_SerializeObject_Call) Run(run func(event interface{})) *EventSerializer_SerializeObject_Call
func (*EventSerializer_SerializeObject_Call) RunAndReturn ¶
func (_c *EventSerializer_SerializeObject_Call) RunAndReturn(run func(interface{}) (*serializer.EventSerializationResult, error)) *EventSerializer_SerializeObject_Call
type EventSerializer_Serialize_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 (_c *EventSerializer_Serialize_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *EventSerializer_Serialize_Call
func (*EventSerializer_Serialize_Call) Run ¶
func (_c *EventSerializer_Serialize_Call) Run(run func(event domain.IDomainEvent)) *EventSerializer_Serialize_Call
func (*EventSerializer_Serialize_Call) RunAndReturn ¶
func (_c *EventSerializer_Serialize_Call) RunAndReturn(run func(domain.IDomainEvent) (*serializer.EventSerializationResult, error)) *EventSerializer_Serialize_Call
type EventSerializer_Serializer_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 (_c *EventSerializer_Serializer_Call) Return(_a0 serializer.Serializer) *EventSerializer_Serializer_Call
func (*EventSerializer_Serializer_Call) Run ¶
func (_c *EventSerializer_Serializer_Call) Run(run func()) *EventSerializer_Serializer_Call
func (*EventSerializer_Serializer_Call) RunAndReturn ¶
func (_c *EventSerializer_Serializer_Call) RunAndReturn(run func() serializer.Serializer) *EventSerializer_Serializer_Call
type MessageSerializer ¶
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 (_m *MessageSerializer) EXPECT() *MessageSerializer_Expecter
func (*MessageSerializer) Serialize ¶
func (_m *MessageSerializer) Serialize(message types.IMessage) (*serializer.EventSerializationResult, error)
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 ¶
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 (_c *MessageSerializer_ContentType_Call) Return(_a0 string) *MessageSerializer_ContentType_Call
func (*MessageSerializer_ContentType_Call) Run ¶
func (_c *MessageSerializer_ContentType_Call) Run(run func()) *MessageSerializer_ContentType_Call
func (*MessageSerializer_ContentType_Call) RunAndReturn ¶
func (_c *MessageSerializer_ContentType_Call) RunAndReturn(run func() string) *MessageSerializer_ContentType_Call
type MessageSerializer_DeserializeObject_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 (_c *MessageSerializer_DeserializeObject_Call) Return(_a0 interface{}, _a1 error) *MessageSerializer_DeserializeObject_Call
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 ¶
func (_c *MessageSerializer_DeserializeObject_Call) RunAndReturn(run func([]byte, string, string) (interface{}, error)) *MessageSerializer_DeserializeObject_Call
type MessageSerializer_DeserializeType_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 (_c *MessageSerializer_DeserializeType_Call) Return(_a0 types.IMessage, _a1 error) *MessageSerializer_DeserializeType_Call
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 ¶
func (_c *MessageSerializer_DeserializeType_Call) RunAndReturn(run func([]byte, reflect.Type, string) (types.IMessage, error)) *MessageSerializer_DeserializeType_Call
type MessageSerializer_Deserialize_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 (_c *MessageSerializer_Deserialize_Call) Return(_a0 types.IMessage, _a1 error) *MessageSerializer_Deserialize_Call
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 ¶
func (_c *MessageSerializer_Deserialize_Call) RunAndReturn(run func([]byte, string, string) (types.IMessage, error)) *MessageSerializer_Deserialize_Call
type MessageSerializer_Expecter ¶
type MessageSerializer_Expecter struct {
// contains filtered or unexported fields
}
func (*MessageSerializer_Expecter) ContentType ¶
func (_e *MessageSerializer_Expecter) ContentType() *MessageSerializer_ContentType_Call
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 ¶
func (_e *MessageSerializer_Expecter) Serializer() *MessageSerializer_Serializer_Call
Serializer is a helper method to define mock.On call
type MessageSerializer_SerializeEnvelop_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 (_c *MessageSerializer_SerializeEnvelop_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_SerializeEnvelop_Call
func (*MessageSerializer_SerializeEnvelop_Call) Run ¶
func (_c *MessageSerializer_SerializeEnvelop_Call) Run(run func(messageEnvelop types.MessageEnvelope)) *MessageSerializer_SerializeEnvelop_Call
func (*MessageSerializer_SerializeEnvelop_Call) RunAndReturn ¶
func (_c *MessageSerializer_SerializeEnvelop_Call) RunAndReturn(run func(types.MessageEnvelope) (*serializer.EventSerializationResult, error)) *MessageSerializer_SerializeEnvelop_Call
type MessageSerializer_SerializeObject_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 (_c *MessageSerializer_SerializeObject_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_SerializeObject_Call
func (*MessageSerializer_SerializeObject_Call) Run ¶
func (_c *MessageSerializer_SerializeObject_Call) Run(run func(message interface{})) *MessageSerializer_SerializeObject_Call
func (*MessageSerializer_SerializeObject_Call) RunAndReturn ¶
func (_c *MessageSerializer_SerializeObject_Call) RunAndReturn(run func(interface{}) (*serializer.EventSerializationResult, error)) *MessageSerializer_SerializeObject_Call
type MessageSerializer_Serialize_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 (_c *MessageSerializer_Serialize_Call) Return(_a0 *serializer.EventSerializationResult, _a1 error) *MessageSerializer_Serialize_Call
func (*MessageSerializer_Serialize_Call) Run ¶
func (_c *MessageSerializer_Serialize_Call) Run(run func(message types.IMessage)) *MessageSerializer_Serialize_Call
func (*MessageSerializer_Serialize_Call) RunAndReturn ¶
func (_c *MessageSerializer_Serialize_Call) RunAndReturn(run func(types.IMessage) (*serializer.EventSerializationResult, error)) *MessageSerializer_Serialize_Call
type MessageSerializer_Serializer_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 (_c *MessageSerializer_Serializer_Call) Return(_a0 serializer.Serializer) *MessageSerializer_Serializer_Call
func (*MessageSerializer_Serializer_Call) Run ¶
func (_c *MessageSerializer_Serializer_Call) Run(run func()) *MessageSerializer_Serializer_Call
func (*MessageSerializer_Serializer_Call) RunAndReturn ¶
func (_c *MessageSerializer_Serializer_Call) RunAndReturn(run func() serializer.Serializer) *MessageSerializer_Serializer_Call
type MetadataSerializer ¶
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 (_m *MetadataSerializer) EXPECT() *MetadataSerializer_Expecter
type MetadataSerializer_Deserialize_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 (_c *MetadataSerializer_Deserialize_Call) Return(_a0 metadata.Metadata, _a1 error) *MetadataSerializer_Deserialize_Call
func (*MetadataSerializer_Deserialize_Call) Run ¶
func (_c *MetadataSerializer_Deserialize_Call) Run(run func(bytes []byte)) *MetadataSerializer_Deserialize_Call
func (*MetadataSerializer_Deserialize_Call) RunAndReturn ¶
func (_c *MetadataSerializer_Deserialize_Call) RunAndReturn(run func([]byte) (metadata.Metadata, error)) *MetadataSerializer_Deserialize_Call
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 ¶
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 (_c *MetadataSerializer_Serialize_Call) Return(_a0 []byte, _a1 error) *MetadataSerializer_Serialize_Call
func (*MetadataSerializer_Serialize_Call) Run ¶
func (_c *MetadataSerializer_Serialize_Call) Run(run func(meta metadata.Metadata)) *MetadataSerializer_Serialize_Call
func (*MetadataSerializer_Serialize_Call) RunAndReturn ¶
func (_c *MetadataSerializer_Serialize_Call) RunAndReturn(run func(metadata.Metadata) ([]byte, error)) *MetadataSerializer_Serialize_Call
type Serializer ¶
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 ¶
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 (_c *Serializer_ColoredPrettyPrint_Call) Return(_a0 string) *Serializer_ColoredPrettyPrint_Call
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 ¶
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 (_c *Serializer_DecodeWithMapStructure_Call) Return(_a0 error) *Serializer_DecodeWithMapStructure_Call
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 ¶
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 (_c *Serializer_Marshal_Call) Return(_a0 []byte, _a1 error) *Serializer_Marshal_Call
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 ¶
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 (_c *Serializer_PrettyPrint_Call) Return(_a0 string) *Serializer_PrettyPrint_Call
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 ¶
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 (_c *Serializer_UnmarshalFromJson_Call) Return(_a0 error) *Serializer_UnmarshalFromJson_Call
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 ¶
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 (_c *Serializer_UnmarshalToMapFromJson_Call) Return(_a0 error) *Serializer_UnmarshalToMapFromJson_Call
func (*Serializer_UnmarshalToMapFromJson_Call) Run ¶
func (_c *Serializer_UnmarshalToMapFromJson_Call) Run(run func(data string, v *map[string]interface{})) *Serializer_UnmarshalToMapFromJson_Call
func (*Serializer_UnmarshalToMapFromJson_Call) RunAndReturn ¶
func (_c *Serializer_UnmarshalToMapFromJson_Call) RunAndReturn(run func(string, *map[string]interface{}) error) *Serializer_UnmarshalToMapFromJson_Call
type Serializer_UnmarshalToMap_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 (_c *Serializer_UnmarshalToMap_Call) Return(_a0 error) *Serializer_UnmarshalToMap_Call
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 ¶
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 (_c *Serializer_Unmarshal_Call) Return(_a0 error) *Serializer_Unmarshal_Call
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