Package com.osohq.oso_cloud.internal
Class ParityHandleImpl
- java.lang.Object
-
- com.osohq.oso_cloud.internal.ParityHandleImpl
-
- All Implemented Interfaces:
ParityHandle
public class ParityHandleImpl extends java.lang.Object implements ParityHandle
-
-
Constructor Summary
Constructors Constructor Description ParityHandleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexpect(boolean expected)Sets the expected result for a given authorization call that has this ParityHandle passed in as an argument.
-
-
-
Method Detail
-
expect
public void expect(boolean expected) throws java.io.IOException, ApiExceptionDescription copied from interface:ParityHandleSets the expected result for a given authorization call that has this ParityHandle passed in as an argument. Can only be called once per instance.- Specified by:
expectin interfaceParityHandle- Parameters:
expected- the expected result of the authorization call- Throws:
java.io.IOException- if there's an I/O errorApiException- if the expected result has already been set
-
-