Description
The generated tests code looks as follows:
publicvoidtestSetImage2() throwsThrowable, Exception { ... }Throwing both Exception and Throwable is odd.
Can be reproduced with ContestEstimator on PDVisibleSignDesigner , method setImage
Expected behavior
The signature looks like
- if Throwable is really required
publicvoidtestSetImage2() throwsThrowable { ... } - if throwable is really not required
publicvoidtestSetImage2() throwsException { ... }Context
Possibly the reason of this problem is in
//If [InvocationTargetException] is thrown manually in test, we // to add "throws Throwable" and other exceptions are not required so on.if (methodId == getTargetException) {
collectedExceptions.clear()
addException(Throwable::class.id)
return
}
Description
The generated tests code looks as follows:
Throwing both
ExceptionandThrowableis odd.Can be reproduced with
ContestEstimatoronPDVisibleSignDesigner, methodsetImageExpected behavior
The signature looks like
Context
Possibly the reason of this problem is in