title: Mock final method - Mockito
body: <p>I want to mock final method of a class. I tried</p>
  
  <pre><code>PowerMockito.mock(mockedClass.class)
  </code></pre>
  
  <p>But it is not working for me. It is giving <code>NullPointerException</code>. I am using TestNG to run my test cases.</p>