Which method of Assert class checks that a condition is true?

Category: Continuous IntegrationWhich method of Assert class checks that a condition is true?
Editor">Editor Staff asked 2 years ago

Which method of Assert class checks that a condition is true?
1. void assert(boolean condition)
2. void assert(boolean condition)
3. void assertTrue(boolean condition)
4. void assertChecks(boolean condition)

1 Answers
Editor">Editor Staff answered 2 years ago

void assertTrue(boolean condition)