public class RuleAssert extends org.fest.assertions.GenericAssert<RuleAssert,Rule>
Assertions.assertThat(Rule).
This class is not intended to be instantiated or subclassed by clients.
| Constructor and Description |
|---|
RuleAssert(Rule actual) |
| Modifier and Type | Method and Description |
|---|---|
RuleAssert |
matches(String input)
Verifies that the actual
fully matches a given input. |
RuleAssert |
matchesPrefix(String prefixToBeMatched,
String remainingInput)
Verifies that the actual
partially matches a given input. |
RuleAssert |
notMatches(String input)
Verifies that the actual
does not match a given input. |
as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfiespublic RuleAssert(Rule actual)
public RuleAssert matches(String input)
Rule fully matches a given input.public RuleAssert notMatches(String input)
Rule does not match a given input.public RuleAssert matchesPrefix(String prefixToBeMatched, String remainingInput)
Rule partially matches a given input.prefixToBeMatched - the prefix that must be fully matchedremainingInput - the remainder of the input, which is not to be matchedCopyright © 2010–2015 SonarSource. All rights reserved.