Class ParserAssert


  • public class ParserAssert
    extends org.fest.assertions.GenericAssert<ParserAssert,​Parser>
    To create a new instance of this class invoke Assertions.assertThat(Parser).

    This class is not intended to be instantiated or subclassed by clients.

    Since:
    1.16
    • Field Summary

      • Fields inherited from class org.fest.assertions.GenericAssert

        actual, myself
    • Constructor Summary

      Constructors 
      Constructor Description
      ParserAssert​(Parser actual)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ParserAssert matches​(String input)
      Verifies that the actual Parser fully matches a given input.
      ParserAssert notMatches​(String input)
      Verifies that the actual Parser not matches a given input.
      • Methods inherited from class org.fest.assertions.GenericAssert

        as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfies
      • Methods inherited from class org.fest.assertions.Assert

        customErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWith
    • Constructor Detail

      • ParserAssert

        public ParserAssert​(Parser actual)
    • Method Detail

      • matches

        public ParserAssert matches​(String input)
        Verifies that the actual Parser fully matches a given input.
        Returns:
        this assertion object.
      • notMatches

        public ParserAssert notMatches​(String input)
        Verifies that the actual Parser not matches a given input.
        Returns:
        this assertion object.