You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the subject of a test can throw checked exceptions. In these cases the compiler will require the method invocation to be inside a try/catch block:
Sometimes the subject of a test can throw checked exceptions. In these cases the compiler will require the method invocation to be inside a try/catch block:
In order to avoid this situation, the framework could provide a wrapper method to translate checked exceptions into unchecked exceptions:
Reference: Stack Overflow
The text was updated successfully, but these errors were encountered: