type PresenceUpdate … // Author provides a mock function with given fields: func (_m *PresenceUpdate) Author() common.UserRecord { … } // AuthorID provides a mock function with given fields: func (_m *PresenceUpdate) AuthorID() common.UserId { … } // CurrentStatus provides a mock function with given fields: func (_m *PresenceUpdate) CurrentStatus() common.PresenceStatus { … } // FromBot provides a mock function with given fields: func (_m *PresenceUpdate) FromBot() bool { … } // ID provides a mock function with given fields: func (_m *PresenceUpdate) ID() string { … } // Log provides a mock function with given fields: content func (_m *PresenceUpdate) Log(content string) { … } // LogErr provides a mock function with given fields: content, err func (_m *PresenceUpdate) LogErr(content string, err error) { … } // PriorStatus provides a mock function with given fields: func (_m *PresenceUpdate) PriorStatus() common.PresenceStatus { … } // Server provides a mock function with given fields: func (_m *PresenceUpdate) Server() common.ChatServer { … } // ServerID provides a mock function with given fields: func (_m *PresenceUpdate) ServerID() string { … } // Since provides a mock function with given fields: func (_m *PresenceUpdate) Since() time.Time { … } // SincePrior provides a mock function with given fields: func (_m *PresenceUpdate) SincePrior() time.Time { … } // Timestamp provides a mock function with given fields: func (_m *PresenceUpdate) Timestamp() time.Time { … } // Type provides a mock function with given fields: func (_m *PresenceUpdate) Type() common.MessageType { … } // NewPresenceUpdate creates a new instance of PresenceUpdate. 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 NewPresenceUpdate(t interface { … }