com.hammingweight.hammock.mocks.microedition.lcdui
Class MockTicker
java.lang.Object
javax.microedition.lcdui.Ticker
com.hammingweight.hammock.mocks.microedition.lcdui.MockTicker
- All Implemented Interfaces:
- IMockObject
public class MockTicker
- extends javax.microedition.lcdui.Ticker
- implements IMockObject
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_GET_STRING
public static final MockMethod MTHD_GET_STRING
MTHD_SET_STRING_$_STRING
public static final MockMethod MTHD_SET_STRING_$_STRING
MockTicker
public MockTicker(java.lang.String arg0)
MockTicker
public MockTicker(java.lang.String arg0,
IInvocationHandler handler)
setInvocationHandler
public final void setInvocationHandler(IInvocationHandler handler)
- Description copied from interface:
IMockObject
- Sets the invocation handler that the mock object should use to evaluate
method invocations.
- Specified by:
setInvocationHandler
in interface IMockObject
- Parameters:
handler
- The invocation handler to be used by the mock object.
getInvocationHandler
public final IInvocationHandler getInvocationHandler()
- Description copied from interface:
IMockObject
- Gets the invocation handler that the mock object uses to evaluate method
invocations.
- Specified by:
getInvocationHandler
in interface IMockObject
- Returns:
- The invocation handler used by the mock object.
getString
public java.lang.String getString()
- Overrides:
getString
in class javax.microedition.lcdui.Ticker
setString
public void setString(java.lang.String arg0)
- Overrides:
setString
in class javax.microedition.lcdui.Ticker