• Tutorials
  • Courses
  • Tracks

Question 5

Last Updated :
Discuss
Comments

Which assertion is used to check if a condition is true in JUnit 5?

assertEquals()

assertTrue()

assertSame()

assertNotEquals()

Share your thoughts in the comments