com.hammingweight.hammock.mocks.ksoap2.serialization
Class MockMarshal

java.lang.Object
  extended by com.hammingweight.hammock.AMockObject
      extended by com.hammingweight.hammock.mocks.ksoap2.serialization.MockMarshal
All Implemented Interfaces:
IHammockExceptionErrors, IMockObject, org.ksoap2.serialization.Marshal

public class MockMarshal
extends AMockObject
implements org.ksoap2.serialization.Marshal


Field Summary
static MockMethod MTHD_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO
           
static MockMethod MTHD_REGISTER_$_SOAPSERIALIZATIONENVELOPE
           
static MockMethod MTHD_WRITE_INSTANCE_$_XMLSERIALIZER_OBJECT
           
 
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
MockMarshal()
           
MockMarshal(IInvocationHandler handler)
           
 
Method Summary
 java.lang.Object readInstance(org.xmlpull.v1.XmlPullParser arg0, java.lang.String arg1, java.lang.String arg2, org.ksoap2.serialization.PropertyInfo arg3)
           
 void register(org.ksoap2.serialization.SoapSerializationEnvelope arg0)
           
 void writeInstance(org.xmlpull.v1.XmlSerializer arg0, java.lang.Object arg1)
           
 
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_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO

public static final MockMethod MTHD_READ_INSTANCE_$_XMLPULLPARSER_STRING_STRING_PROPERTYINFO

MTHD_REGISTER_$_SOAPSERIALIZATIONENVELOPE

public static final MockMethod MTHD_REGISTER_$_SOAPSERIALIZATIONENVELOPE

MTHD_WRITE_INSTANCE_$_XMLSERIALIZER_OBJECT

public static final MockMethod MTHD_WRITE_INSTANCE_$_XMLSERIALIZER_OBJECT
Constructor Detail

MockMarshal

public MockMarshal()

MockMarshal

public MockMarshal(IInvocationHandler handler)
Method Detail

readInstance

public java.lang.Object readInstance(org.xmlpull.v1.XmlPullParser arg0,
                                     java.lang.String arg1,
                                     java.lang.String arg2,
                                     org.ksoap2.serialization.PropertyInfo arg3)
                              throws java.io.IOException,
                                     org.xmlpull.v1.XmlPullParserException
Specified by:
readInstance in interface org.ksoap2.serialization.Marshal
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

register

public void register(org.ksoap2.serialization.SoapSerializationEnvelope arg0)
Specified by:
register in interface org.ksoap2.serialization.Marshal

writeInstance

public void writeInstance(org.xmlpull.v1.XmlSerializer arg0,
                          java.lang.Object arg1)
                   throws java.io.IOException
Specified by:
writeInstance in interface org.ksoap2.serialization.Marshal
Throws:
java.io.IOException