Interface DefaultBehavior

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object replay​(java.lang.Object... mocks)
      Replay the given objects or classes.
      java.lang.Object reset​(java.lang.Object... mocks)
      Reset the given objects or classes.
      java.lang.Object verify​(java.lang.Object... mocks)
      Verify the given objects or classes.
    • Method Detail

      • replay

        java.lang.Object replay​(java.lang.Object... mocks)
        Replay the given objects or classes. May throw exception if replay is not needed or not supported.
        Parameters:
        mock - The object(s) to replay. May be null.
        Returns:
        the result of the replay (may be null).
      • verify

        java.lang.Object verify​(java.lang.Object... mocks)
        Verify the given objects or classes. May throw exception if verify is not needed or not supported.
        Parameters:
        mock - The object(s) to verify. May be null.
        Returns:
        the result of the verification (may be null).
      • reset

        java.lang.Object reset​(java.lang.Object... mocks)
        Reset the given objects or classes. May throw exception if reset is not needed or not supported.
        Parameters:
        mock - The object(s) to replay. May be null.
        Returns:
        the result of the replay (may be null).