com.hammingweight.hammock.mocks.microedition.location
Class MockAddressInfo

java.lang.Object
  extended by javax.microedition.location.AddressInfo
      extended by com.hammingweight.hammock.mocks.microedition.location.MockAddressInfo
All Implemented Interfaces:
IMockObject

public class MockAddressInfo
extends javax.microedition.location.AddressInfo
implements IMockObject


Field Summary
static MockMethod MTHD_GET_FIELD_$_INT
           
static MockMethod MTHD_SET_FIELD_$_INT_STRING
           
 
Fields inherited from class javax.microedition.location.AddressInfo
BUILDING_FLOOR, BUILDING_NAME, BUILDING_ROOM, BUILDING_ZONE, CITY, COUNTRY, COUNTRY_CODE, COUNTY, CROSSING1, CROSSING2, DISTRICT, EXTENSION, PHONE_NUMBER, POSTAL_CODE, STATE, STREET, URL
 
Constructor Summary
MockAddressInfo()
           
MockAddressInfo(IInvocationHandler handler)
           
 
Method Summary
 java.lang.String getField(int arg0)
           
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 void setField(int arg0, java.lang.String arg1)
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_GET_FIELD_$_INT

public static final MockMethod MTHD_GET_FIELD_$_INT

MTHD_SET_FIELD_$_INT_STRING

public static final MockMethod MTHD_SET_FIELD_$_INT_STRING
Constructor Detail

MockAddressInfo

public MockAddressInfo()

MockAddressInfo

public MockAddressInfo(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.

getField

public java.lang.String getField(int arg0)
Overrides:
getField in class javax.microedition.location.AddressInfo

setField

public void setField(int arg0,
                     java.lang.String arg1)
Overrides:
setField in class javax.microedition.location.AddressInfo