Java Why Am I Facing Issue With Junit 5 Assertthrows For Asserting

Java Why Am I Facing Issue With Junit 5 Assertthrows For Asserting