type MessageEmbedAuthor … // IconUrl provides a mock function with given fields: func (_m *MessageEmbedAuthor) IconUrl() string { … } // Name provides a mock function with given fields: func (_m *MessageEmbedAuthor) Name() string { … } // Url provides a mock function with given fields: func (_m *MessageEmbedAuthor) Url() string { … } // NewMessageEmbedAuthor creates a new instance of MessageEmbedAuthor. 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 NewMessageEmbedAuthor(t interface { … }