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

type CanAssignRoles

// GrantRoleToUser provides a mock function with given fields: u, r
func (_m *CanAssignRoles) GrantRoleToUser(u common.UserRecord, r common.Role) {}

// RemoveRoleFromUser provides a mock function with given fields: u, r
func (_m *CanAssignRoles) RemoveRoleFromUser(u common.UserRecord, r common.Role) {}

// Roles provides a mock function with given fields:
func (_m *CanAssignRoles) Roles() common.RolesCollection {}

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