title: Junit Parameterized tests together with Powermock - how?
body: <p>I've been trying to figure out how to run parameterized tests in Junit4 together with PowerMock. The problem is that to use PowerMock you need to decorate your test class with </p>
  
  <pre><code>@RunWith(PowerMockRunner.class)
  </code></pre>
  
  <p>and to use parameterized tests you have to decorate with </p>
  
  <pre><code>@RunWith(Parameterized.class)
  </code></pre>
  
  <p>From what I can see they seem mutually excluded!? Is this true? Is there any way around this? I've tried to create a parameterized class within a class running with PowerMock; something like this:</p>
  
  <pre><code>@RunWith(PowerMockRunner.class)
  class MyTestClass {
       @RunWith(Parameterized.class)
       class ParamTestClass {
            // Yadayada
       }
  }
  </code></pre>
  
  <p>But unfortunately this doesn't do much good... The <code>ParamTestClass</code> still doesn't run with PowerMock support (not that surprisingly maybe)... And I've kind of run out of ideas so any help is greatly appreciated!</p>
  
  <p><strong>Update:</strong>
  For future googlers also see: <a href="http://groups.google.com/group/powermock/browse_thread/thread/f7df24bddf1cc73/dd4ca873a36381a18?lnk=gst&amp;q=parameterized#dd4ca873a3638118" rel="noreferrer">Using PowerMock without the RunWith?</a></p>