AssertJ
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- AssertJ best practices
- Migrate JUnit asserts to AssertJ
- Shorten AssertJ assertions
- Simplify AssertJ chained assertions
- Statically import AssertJ's
assertThat
Recipes
- Adopt AssertJ Duration assertions
- Collapse consecutive
assertThat
statements - JUnit AssertThrows to AssertJ exceptionType
- JUnit
assertArrayEquals
to assertJ - JUnit
assertEquals
to AssertJ - JUnit
assertFalse
to AssertJ - JUnit
assertInstanceOf
to AssertJ - JUnit
assertNotEquals
to AssertJ - JUnit
assertNotNull
to AssertJ - JUnit
assertNull
to AssertJ - JUnit
assertSame
to AssertJ - JUnit
assertTrue
to AssertJ - JUnit fail to AssertJ
- Simplify AssertJ assertions with literal arguments
- Simplify AssertJ chained assertions