Introduction to Assertions in JUnit
Learn about types of assertions and their use cases.
We'll cover the following...
Assertions (or asserts) in JUnit are static method calls that can be dropped into tests.
...
Each assertion is an opportunity to verify that some condition holds
true. If an asserted condition does not hold true, the ...
Ask