concept assertTextPresent in category java

appears as: ssertTextPresent
JUnit in Action

This is an excerpt from Manning's book JUnit in Action.

We know that JUnit 5 provides a class called Assertions to allow tests to fail when they detect an error condition. Assertions are the bread and butter of any unit test. HtmlUnit can work with JUnit 5, but it also provides a class in the same spirit called WebAssert, which contains standard assertions for HTML like assertTitleEquals, assertTextPresent, and notNull.