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
You are actually catching the exception in the catch block. That's why your test failed not getting the expected exception.