Package org.sonar.sslr.tests
Class Assertions
- java.lang.Object
-
- org.sonar.sslr.tests.Assertions
-
public final class Assertions extends Object
- Since:
- 1.16
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleAssertassertThat(Rule actual)Creates a new instance of.RuleAssertstatic ParserAssertassertThat(Parser actual)Creates a new instance of.ParserAssert
-
-
-
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.
-
-