title: AEM Mockito Junit 5 unable to cover catch block
body: <p>How do I cover the catch block for for the methods that return void in junit5 and mockito.</p>
  <p>below mentioned dump method return void and throws RepositoryException and JSONException.</p>
  <p>tidyJosnItemWrite.dump(node, stringWriter, -1);</p>