ratz/src/chatservers/common/mocks/VoiceEvent.go

type VoiceEvent

// Author provides a mock function with given fields:
func (_m *VoiceEvent) Author() common.UserRecord {}

// AuthorID provides a mock function with given fields:
func (_m *VoiceEvent) AuthorID() common.UserId {}

// FromBot provides a mock function with given fields:
func (_m *VoiceEvent) FromBot() bool {}

// ID provides a mock function with given fields:
func (_m *VoiceEvent) ID() string {}

// Log provides a mock function with given fields: content
func (_m *VoiceEvent) Log(content string) {}

// LogErr provides a mock function with given fields: content, err
func (_m *VoiceEvent) LogErr(content string, err error) {}

// Server provides a mock function with given fields:
func (_m *VoiceEvent) Server() common.ChatServer {}

// ServerID provides a mock function with given fields:
func (_m *VoiceEvent) ServerID() string {}

// Timestamp provides a mock function with given fields:
func (_m *VoiceEvent) Timestamp() time.Time {}

// Type provides a mock function with given fields:
func (_m *VoiceEvent) Type() common.MessageType {}

// NewVoiceEvent creates a new instance of VoiceEvent. 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 NewVoiceEvent(t interface {}