type MessageEmbedField … // Inline provides a mock function with given fields: func (_m *MessageEmbedField) Inline() bool { … } // Name provides a mock function with given fields: func (_m *MessageEmbedField) Name() string { … } // Value provides a mock function with given fields: func (_m *MessageEmbedField) Value() string { … } // NewMessageEmbedField creates a new instance of MessageEmbedField. 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 NewMessageEmbedField(t interface { … }