Package org.sonar.sslr.tests
Class ParserAssert
- java.lang.Object
-
- org.fest.assertions.Assert
-
- org.fest.assertions.GenericAssert<ParserAssert,Parser>
-
- org.sonar.sslr.tests.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
-
-
Constructor Summary
Constructors Constructor Description ParserAssert(Parser actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParserAssertmatches(String input)Verifies that the actualfully matches a given input.ParserParserAssertnotMatches(String input)Verifies that the actualnot matches a given input.Parser-
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
-
-
-
-
Constructor Detail
-
ParserAssert
public ParserAssert(Parser actual)
-
-
Method Detail
-
matches
public ParserAssert matches(String input)
Verifies that the actualfully matches a given input.Parser- Returns:
- this assertion object.
-
notMatches
public ParserAssert notMatches(String input)
Verifies that the actualnot matches a given input.Parser- Returns:
- this assertion object.
-
-