title: How to mock/fake a new enum value with JMockit
body: <p>How can I add a fake enum value using <strong>JMockit</strong>?</p>
  
  <p>I could't find anything in the documentation. Is it even possible?</p>
  
  <p>Related: <a href="https://stackoverflow.com/questions/5323505/mocking-java-enum-to-add-a-value-to-test-fail-case">this question</a> but it is for mockito only, not for JMockIt.</p>
  
  <p>EDIT: I removed the examples I gave in the first place because the examples seem to be distracting. Please have a look at the most upvoted answer on the <a href="https://stackoverflow.com/questions/5323505/mocking-java-enum-to-add-a-value-to-test-fail-case">linked  question</a> to see what I'm expecting. I want to know if it's possible to do the same with JMockit.</p>