com.hammingweight.hammock.mocks.microedition.io
Class MockSecurityInfo

java.lang.Object
  extended by com.hammingweight.hammock.AMockObject
      extended by com.hammingweight.hammock.mocks.microedition.io.MockSecurityInfo
All Implemented Interfaces:
IHammockExceptionErrors, IMockObject, javax.microedition.io.SecurityInfo

public class MockSecurityInfo
extends AMockObject
implements javax.microedition.io.SecurityInfo


Field Summary
static MockMethod MTHD_GET_CIPHER_SUITE
           
static MockMethod MTHD_GET_PROTOCOL_NAME
           
static MockMethod MTHD_GET_PROTOCOL_VERSION
           
static MockMethod MTHD_GET_SERVER_CERTIFICATE
           
 
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
MockSecurityInfo()
           
MockSecurityInfo(IInvocationHandler handler)
           
 
Method Summary
 java.lang.String getCipherSuite()
           
 java.lang.String getProtocolName()
           
 java.lang.String getProtocolVersion()
           
 javax.microedition.pki.Certificate getServerCertificate()
           
 
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_CIPHER_SUITE

public static final MockMethod MTHD_GET_CIPHER_SUITE

MTHD_GET_PROTOCOL_NAME

public static final MockMethod MTHD_GET_PROTOCOL_NAME

MTHD_GET_PROTOCOL_VERSION

public static final MockMethod MTHD_GET_PROTOCOL_VERSION

MTHD_GET_SERVER_CERTIFICATE

public static final MockMethod MTHD_GET_SERVER_CERTIFICATE
Constructor Detail

MockSecurityInfo

public MockSecurityInfo()

MockSecurityInfo

public MockSecurityInfo(IInvocationHandler handler)
Method Detail

getCipherSuite

public java.lang.String getCipherSuite()
Specified by:
getCipherSuite in interface javax.microedition.io.SecurityInfo

getProtocolName

public java.lang.String getProtocolName()
Specified by:
getProtocolName in interface javax.microedition.io.SecurityInfo

getProtocolVersion

public java.lang.String getProtocolVersion()
Specified by:
getProtocolVersion in interface javax.microedition.io.SecurityInfo

getServerCertificate

public javax.microedition.pki.Certificate getServerCertificate()
Specified by:
getServerCertificate in interface javax.microedition.io.SecurityInfo