Implementation of Assertions in commons-assertions module.
commons-assertions is a library for performing assertions in Java code, more specifically, it is built around the assert keyword in Java, and allows the assertions to be enabled or disabled based on the -ea JVM option.
The following code snippet is an example of how to use an assertion :
assert assertThat(setofInts).contains(10).check() : assertion().message() ;