Using Helper Classes in PowerMock
<p>I am unit testing some code using PowerMock and Mockito. </p>

<p>There are several types of patterns that come up during unit testing of all classes in the project I am working on.</p>

<p>What I would like to do is create a shared Helper class to avoid code duplication. The issue is that when I move the code to the Helper and attempt to call it from my test class, PowerMock's functionality doesn't carry to the Helper and I simply get Mockito errors (cannot mock final classes).</p>

<p>I tried putting the @PrepareForTest attribute at the head of the Helper class and methods but with no luck. Is there any way to make this work (aside from inheriting from the Helper)?</p>
