Package com.osohq.oso_cloud
Interface ParityHandle
-
- All Known Implementing Classes:
ParityHandleImpl
public interface ParityHandle
-
-
Method Summary
All Methods Instance Methods Abstract 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
void expect(boolean expected) throws java.io.IOException, ApiExceptionSets the expected result for a given authorization call that has this ParityHandle passed in as an argument. Can only be called once per instance.- 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
-
-