Created
April 16, 2016 15:32
-
-
Save r-winkler/cc071e95fd45f87dbc1e0b002e57f52f to your computer and use it in GitHub Desktop.
This file contains 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
public class AssertJStringAssert { | |
private static final String DEV = "Developer"; | |
@Test | |
public void testStrings_WithAssertJ() { | |
assertThat(DEV).isNotNull().isNotEmpty().startsWith("Dev").contains("elo").hasSize(9); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment