Package org.springframework.shell.test
Class ShellAssertions
java.lang.Object
org.springframework.shell.test.ShellAssertions
Entry point for assertion methods for shell components.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.assertj.core.api.InstanceOfAssertFactory<ShellScreen,
ShellScreenAssert> Instance of a assert factory forShellScreen
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShellScreenAssert
assertThat
(ShellScreen actual) Creates an instance ofShellScreenAssert
.
-
Field Details
-
SHELLSCREEN
public static final org.assertj.core.api.InstanceOfAssertFactory<ShellScreen,ShellScreenAssert> SHELLSCREENInstance of a assert factory forShellScreen
.
-
-
Constructor Details
-
ShellAssertions
public ShellAssertions()
-
-
Method Details
-
assertThat
Creates an instance ofShellScreenAssert
.- Parameters:
actual
- the actual value- Returns:
- the created assertion object
-