Interface ParityHandle

  • All Known Implementing Classes:
    ParityHandleImpl

    public interface ParityHandle
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void expect​(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,
                    ApiException
        Sets 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 error
        ApiException - if the expected result has already been set