title: No Constructor found when using PowerMockito for mocking JSONObject constructor
body: <p>I'm using a custom class for JSONObject (madison.util.json.JSONObject) instead of the standard org.json.JSONObject and am trying to mock a constructor(String) call for JSONObject.class using PowerMockito. </p>
  
  <pre><code>PowerMockito.whenNew(JSONObject.class).withArguments(String.class).thenReturn(jsonStub);
  </code></pre>
  
  <p>I'm getting teh following error: </p>
  
  <pre><code>No constructor found in class 'madison.util.json.JSONObject' with parameter types: [ null ].
  </code></pre>
  
  <p>Can anybody advise what is the problem here? </p>
  
  <p>Thanks</p>