Is there any simplified way to validate a condition and mark the test as Passed/Failed based on the outcome in the Extent Report?. pass or fail function in ExtentTest does not f