com.hammingweight.hammock.mocks.ksoap2.transport
Class MockServiceConnection
java.lang.Object
com.hammingweight.hammock.AMockObject
com.hammingweight.hammock.mocks.ksoap2.transport.MockServiceConnection
- All Implemented Interfaces:
- IHammockExceptionErrors, IMockObject, org.ksoap2.transport.ServiceConnection
public class MockServiceConnection
- extends AMockObject
- implements org.ksoap2.transport.ServiceConnection
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_CONNECT
public static final MockMethod MTHD_CONNECT
MTHD_DISCONNECT
public static final MockMethod MTHD_DISCONNECT
MTHD_GET_ERROR_STREAM
public static final MockMethod MTHD_GET_ERROR_STREAM
MTHD_OPEN_INPUT_STREAM
public static final MockMethod MTHD_OPEN_INPUT_STREAM
MTHD_OPEN_OUTPUT_STREAM
public static final MockMethod MTHD_OPEN_OUTPUT_STREAM
MTHD_SET_REQUEST_METHOD_$_STRING
public static final MockMethod MTHD_SET_REQUEST_METHOD_$_STRING
MTHD_SET_REQUEST_PROPERTY_$_STRING_STRING
public static final MockMethod MTHD_SET_REQUEST_PROPERTY_$_STRING_STRING
MockServiceConnection
public MockServiceConnection()
MockServiceConnection
public MockServiceConnection(IInvocationHandler handler)
connect
public void connect()
throws java.io.IOException
- Specified by:
connect
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException
disconnect
public void disconnect()
throws java.io.IOException
- Specified by:
disconnect
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException
getErrorStream
public java.io.InputStream getErrorStream()
- Specified by:
getErrorStream
in interface org.ksoap2.transport.ServiceConnection
openInputStream
public java.io.InputStream openInputStream()
throws java.io.IOException
- Specified by:
openInputStream
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException
openOutputStream
public java.io.OutputStream openOutputStream()
throws java.io.IOException
- Specified by:
openOutputStream
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException
setRequestMethod
public void setRequestMethod(java.lang.String arg0)
throws java.io.IOException
- Specified by:
setRequestMethod
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException
setRequestProperty
public void setRequestProperty(java.lang.String arg0,
java.lang.String arg1)
throws java.io.IOException
- Specified by:
setRequestProperty
in interface org.ksoap2.transport.ServiceConnection
- Throws:
java.io.IOException