Thanks to visit codestin.com Credit goes to errorprone.info
Suppress false positives by adding the suppression annotation @SuppressWarnings("AssertThrowsBlockToExpression") to the enclosing element.
@SuppressWarnings("AssertThrowsBlockToExpression")