What is assertTrue in JUnit?

What is assertTrue in JUnit?

The assertTrue function is part of the JUnit Library’s Assert object. It can be used to analyze a particular scenario that your application encounters.