com.hammingweight.hammock.mocks.microedition.lcdui
Class MockTicker

java.lang.Object
  extended by javax.microedition.lcdui.Ticker
      extended by com.hammingweight.hammock.mocks.microedition.lcdui.MockTicker
All Implemented Interfaces:
IMockObject

public class MockTicker
extends javax.microedition.lcdui.Ticker
implements IMockObject


Field Summary
static MockMethod MTHD_GET_STRING
           
static MockMethod MTHD_SET_STRING_$_STRING
           
 
Constructor Summary
MockTicker(java.lang.String arg0)
           
MockTicker(java.lang.String arg0, IInvocationHandler handler)
           
 
Method Summary
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 java.lang.String getString()
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 void setString(java.lang.String arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_GET_STRING

public static final MockMethod MTHD_GET_STRING

MTHD_SET_STRING_$_STRING

public static final MockMethod MTHD_SET_STRING_$_STRING
Constructor Detail

MockTicker

public MockTicker(java.lang.String arg0)

MockTicker

public MockTicker(java.lang.String arg0,
                  IInvocationHandler handler)
Method Detail

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