AssertJ

AssertJ

Modules
AssertJ Core AssertJ DB AssertJ Guava
Community
Stack Overflow GitHub Bluesky
AssertJ Core
3.27.3
    • Overview
    • Quick start
    • Assertions guide
      • A simple example
      • Supported type assertions
      • Assertion description
      • Overriding error message
      • Avoiding incorrect usage
      • Configuring AssertJ
      • Controlling type formatting
      • Common assertions
      • Object assertions
      • String/CharSequence assertions
      • Iterable and array assertions
      • Exception assertions
      • Field by field recursive comparison
      • Recursive assertions
      • Soft assertions
      • Assumptions
    • Extending assertions
    • Migrating assertions
    • AssertJ Sample Projects
Edit this Page GitHub Project
  • AssertJ Core
  • Assertions guide
  • Common assertions

Common assertions

This section describes the assertions common to all types, the Javadoc for common assertions methods is available here.

Controlling type formatting Object assertions
  • AssertJ Core
    • 3.27.3
  • AssertJ DB
    • 3.0.0
  • AssertJ Guava
    • 3.27.3
  • Home
    • default