public class MaxMessageMocker
extends java.lang.Object
Constructor and Description |
---|
MaxMessageMocker() |
Modifier and Type | Method and Description |
---|---|
static MaxMessage |
mockMessage(java.lang.String langCode,
UserInfo info,
java.lang.String msgId,
java.lang.String msgGroup,
java.lang.String msgKey,
java.lang.String msgText)
Mocks a message lookup, such that
when MXServer.getMXServer().getMaxMessageCache().getMessage(group,key) is called,
then a MaxMessage is returned with the given data.
|
public static MaxMessage mockMessage(java.lang.String langCode, UserInfo info, java.lang.String msgId, java.lang.String msgGroup, java.lang.String msgKey, java.lang.String msgText) throws java.rmi.RemoteException, MXException
langCode
- msgId
- msgGroup
- msgKey
- msgText
- java.rmi.RemoteException
MXException