Class Assertions


  • public final class Assertions
    extends Object
    Since:
    1.16
    • Method Detail

      • assertThat

        public static RuleAssert assertThat​(Rule actual)
        Creates a new instance of RuleAssert.
        Parameters:
        actual - the value to be the target of the assertions methods.
        Returns:
        the created assertion object.
      • assertThat

        public static ParserAssert assertThat​(Parser actual)
        Creates a new instance of ParserAssert.
        Parameters:
        actual - the value to be the target of the assertions methods.
        Returns:
        the created assertion object.