Assertions: fail() and assertInstanceOf()
Let's describe the fail() and assertInstanceOf() methods in JUnit 5.
We'll cover the following...
The fail() method
The fail() method fails a test with a given message and/or Throwable. Below are the overloaded
methods of fail() ...