type EphemeralCommandHandler … // Execute provides a mock function with given fields: _a0 func (_m *EphemeralCommandHandler) Execute(_a0 commands.CommandActivation) { … } // NewEphemeralCommandHandler creates a new instance of EphemeralCommandHandler. 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 NewEphemeralCommandHandler(t interface { … }