- assertThrowsIllegalArg
Asserts that the lambda-based code throws an IllegalArgumentException and checks
the message matches
- coverBeanEquals
Test a bean equals method for the primary purpose of increasing test coverage.
The two beans passed
- coverImmutableBean
Test an immutable bean for the primary purpose of increasing test coverage.
- assertThrows
Asserts that the lambda-based code throws the specified exception and that the
exception message mat
- date
Creates a LocalDate, intended for static import.
- assertJodaConvert
Asserts that the object can be serialized and deserialized via a string using
Joda-Convert.
- assertSerialization
Asserts that the object can be serialized and deserialized to an equal form.
- coverPrivateConstructor
Test a private no-arg constructor the primary purpose of increasing test
coverage.
- coverEnum
Test an enum for the primary purpose of increasing test coverage.
- assertEqualsBean
Asserts that two beans are equal. Provides better error messages than a normal
assertEquals comparis
- assertUtilityClass
Asserts that a class is a well-defined utility class. Must be final and with one
zero-arg private co
- ignoreThrows
Ignore any exception thrown by the lambda-based code. For example:
ignoreThrows(() -> bean.property