Created
December 18, 2014 18:52
-
-
Save wonderb0lt/9dcfedefacf50d1fef79 to your computer and use it in GitHub Desktop.
yay AssertJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assertThat(authenticationResult) | |
.hasState(AuthenticationResult.State.SUCCESSFUL) | |
.hasNoErrors() | |
.hasAdditionalInformation(Collections.emptyMap()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you could have used
hasNoAdditionalInformation()