com.hammingweight.hammock.mocks.microedition.content
Class MockContentHandler

java.lang.Object
  extended by com.hammingweight.hammock.AMockObject
      extended by com.hammingweight.hammock.mocks.microedition.content.MockContentHandler
All Implemented Interfaces:
IHammockExceptionErrors, IMockObject, javax.microedition.content.ContentHandler

public class MockContentHandler
extends AMockObject
implements javax.microedition.content.ContentHandler


Field Summary
static MockMethod MTHD_GET_ACTION_$_INT
           
static MockMethod MTHD_GET_ACTION_COUNT
           
static MockMethod MTHD_GET_ACTION_NAME_MAP
           
static MockMethod MTHD_GET_ACTION_NAME_MAP_$_INT
           
static MockMethod MTHD_GET_ACTION_NAME_MAP_$_STRING
           
static MockMethod MTHD_GET_ACTION_NAME_MAP_COUNT
           
static MockMethod MTHD_GET_APP_NAME
           
static MockMethod MTHD_GET_AUTHORITY
           
static MockMethod MTHD_GET_ID
           
static MockMethod MTHD_GET_SUFFIX_$_INT
           
static MockMethod MTHD_GET_SUFFIX_COUNT
           
static MockMethod MTHD_GET_TYPE_$_INT
           
static MockMethod MTHD_GET_TYPE_COUNT
           
static MockMethod MTHD_GET_VERSION
           
static MockMethod MTHD_HAS_ACTION_$_STRING
           
static MockMethod MTHD_HAS_SUFFIX_$_STRING
           
static MockMethod MTHD_HAS_TYPE_$_STRING
           
 
Fields inherited from interface javax.microedition.content.ContentHandler
ACTION_EDIT, ACTION_EXECUTE, ACTION_INSTALL, ACTION_NEW, ACTION_OPEN, ACTION_PRINT, ACTION_SAVE, ACTION_SELECT, ACTION_SEND, ACTION_STOP, UNIVERSAL_TYPE
 
Fields inherited from interface com.hammingweight.hammock.IHammockExceptionErrors
ARGUMENT_MATCHER_ALREADY_SET, CANT_SET_VOID_RETURN_VALUE, CLASS_IS_NOT_THROWABLE, DOES_NOT_SUBCLASS_MOCK_OBJECT, HANDLER_NOT_SET, INCORRECT_MOCK_OBJECT, INCORRECT_RETURN_CLASS, INCORRECT_THROWABLE_CLASS, METHOD_CANNOT_BE_EVALUATED, METHOD_INVOKED_OUT_OF_SEQUENCE, METHOD_INVOKED_TOO_MANY_TIMES, METHOD_INVOKED_UNEXPECTED_NUMBER_OF_TIMES, NO_RETURN_VALUE, NO_RETURN_VALUE_SET, NUM_INVOCATIONS_ALREADY_SET, RETURN_VALUE_ALREADY_SET, WRONG_ARGUMENT_CLASS, WRONG_NUMBER_OF_ARGS
 
Constructor Summary
MockContentHandler()
           
MockContentHandler(IInvocationHandler handler)
           
 
Method Summary
 java.lang.String getAction(int arg0)
           
 int getActionCount()
           
 javax.microedition.content.ActionNameMap getActionNameMap()
           
 javax.microedition.content.ActionNameMap getActionNameMap(int arg0)
           
 javax.microedition.content.ActionNameMap getActionNameMap(java.lang.String arg0)
           
 int getActionNameMapCount()
           
 java.lang.String getAppName()
           
 java.lang.String getAuthority()
           
 java.lang.String getID()
           
 java.lang.String getSuffix(int arg0)
           
 int getSuffixCount()
           
 java.lang.String getType(int arg0)
           
 int getTypeCount()
           
 java.lang.String getVersion()
           
 boolean hasAction(java.lang.String arg0)
           
 boolean hasSuffix(java.lang.String arg0)
           
 boolean hasType(java.lang.String arg0)
           
 
Methods inherited from class com.hammingweight.hammock.AMockObject
assertReturnNotNull, getInvocationHandler, setInvocationHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_GET_ACTION_$_INT

public static final MockMethod MTHD_GET_ACTION_$_INT

MTHD_GET_ACTION_COUNT

public static final MockMethod MTHD_GET_ACTION_COUNT

MTHD_GET_ACTION_NAME_MAP

public static final MockMethod MTHD_GET_ACTION_NAME_MAP

MTHD_GET_ACTION_NAME_MAP_$_INT

public static final MockMethod MTHD_GET_ACTION_NAME_MAP_$_INT

MTHD_GET_ACTION_NAME_MAP_$_STRING

public static final MockMethod MTHD_GET_ACTION_NAME_MAP_$_STRING

MTHD_GET_ACTION_NAME_MAP_COUNT

public static final MockMethod MTHD_GET_ACTION_NAME_MAP_COUNT

MTHD_GET_APP_NAME

public static final MockMethod MTHD_GET_APP_NAME

MTHD_GET_AUTHORITY

public static final MockMethod MTHD_GET_AUTHORITY

MTHD_GET_ID

public static final MockMethod MTHD_GET_ID

MTHD_GET_SUFFIX_$_INT

public static final MockMethod MTHD_GET_SUFFIX_$_INT

MTHD_GET_SUFFIX_COUNT

public static final MockMethod MTHD_GET_SUFFIX_COUNT

MTHD_GET_TYPE_$_INT

public static final MockMethod MTHD_GET_TYPE_$_INT

MTHD_GET_TYPE_COUNT

public static final MockMethod MTHD_GET_TYPE_COUNT

MTHD_GET_VERSION

public static final MockMethod MTHD_GET_VERSION

MTHD_HAS_ACTION_$_STRING

public static final MockMethod MTHD_HAS_ACTION_$_STRING

MTHD_HAS_SUFFIX_$_STRING

public static final MockMethod MTHD_HAS_SUFFIX_$_STRING

MTHD_HAS_TYPE_$_STRING

public static final MockMethod MTHD_HAS_TYPE_$_STRING
Constructor Detail

MockContentHandler

public MockContentHandler()

MockContentHandler

public MockContentHandler(IInvocationHandler handler)
Method Detail

getAction

public java.lang.String getAction(int arg0)
Specified by:
getAction in interface javax.microedition.content.ContentHandler

getActionCount

public int getActionCount()
Specified by:
getActionCount in interface javax.microedition.content.ContentHandler

getActionNameMap

public javax.microedition.content.ActionNameMap getActionNameMap()
Specified by:
getActionNameMap in interface javax.microedition.content.ContentHandler

getActionNameMap

public javax.microedition.content.ActionNameMap getActionNameMap(int arg0)
Specified by:
getActionNameMap in interface javax.microedition.content.ContentHandler

getActionNameMap

public javax.microedition.content.ActionNameMap getActionNameMap(java.lang.String arg0)
Specified by:
getActionNameMap in interface javax.microedition.content.ContentHandler

getActionNameMapCount

public int getActionNameMapCount()
Specified by:
getActionNameMapCount in interface javax.microedition.content.ContentHandler

getAppName

public java.lang.String getAppName()
Specified by:
getAppName in interface javax.microedition.content.ContentHandler

getAuthority

public java.lang.String getAuthority()
Specified by:
getAuthority in interface javax.microedition.content.ContentHandler

getID

public java.lang.String getID()
Specified by:
getID in interface javax.microedition.content.ContentHandler

getSuffix

public java.lang.String getSuffix(int arg0)
Specified by:
getSuffix in interface javax.microedition.content.ContentHandler

getSuffixCount

public int getSuffixCount()
Specified by:
getSuffixCount in interface javax.microedition.content.ContentHandler

getType

public java.lang.String getType(int arg0)
Specified by:
getType in interface javax.microedition.content.ContentHandler

getTypeCount

public int getTypeCount()
Specified by:
getTypeCount in interface javax.microedition.content.ContentHandler

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface javax.microedition.content.ContentHandler

hasAction

public boolean hasAction(java.lang.String arg0)
Specified by:
hasAction in interface javax.microedition.content.ContentHandler

hasSuffix

public boolean hasSuffix(java.lang.String arg0)
Specified by:
hasSuffix in interface javax.microedition.content.ContentHandler

hasType

public boolean hasType(java.lang.String arg0)
Specified by:
hasType in interface javax.microedition.content.ContentHandler