title: Create a JsonProcessingException
body: <p>I'm trying to create a JsonProcessingException to be thrown by a mock object. </p>
  
  <pre><code>when(mapper.writeValueAsString(any(Object.class))).thenThrow(new JsonProcessingException("Error"));
  </code></pre>
  
  <p>However I'm unable to create a JsonProcessingException object as all the constructors are protected. How do I get around this?</p>