Hi so there\'s a test for a constructor for a vehicle. The test initializes a vehicle with a driver without a driving license and it should throw an Exception. code constructor
Here:
} catch (MensException e) { System.out.println(e.getMessage()); }
You catch the exception so it is not thrown to the test class.
Change to to:
} catch (MensException e) { System.out.println(e.getMessage()); throw e }