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