type HasStatus … // CurrentStatus provides a mock function with given fields: func (_m *HasStatus) CurrentStatus() common.PresenceStatus { … } // LastAvailable provides a mock function with given fields: func (_m *HasStatus) LastAvailable() time.Time { … } // LastOnline provides a mock function with given fields: func (_m *HasStatus) LastOnline() time.Time { … } // SetLastAvailable provides a mock function with given fields: func (_m *HasStatus) SetLastAvailable() { … } // SetLastOnline provides a mock function with given fields: func (_m *HasStatus) SetLastOnline() { … } // TrackUserPresence provides a mock function with given fields: p func (_m *HasStatus) TrackUserPresence(p common.PresenceUpdate) time.Duration { … } // NewHasStatus creates a new instance of HasStatus. 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 NewHasStatus(t interface { … }