title: Get a value of a local variable from a void function using mockito
body: <p>I have a method like below:</p>
  <pre><code>public void process {
     ArrayList&lt;String&gt; data = new ArrayList&lt;&gt;();
     ...
     ...
  }
  </code></pre>
  <p><code>data</code> is a local variable, the value of which I want to access after calling <code>myObject.process()</code> inside the test function. Is there any way I can do that?</p>