title: Mocking Matcher with non native class
body: <p>I am trying to write a @test in Junit using mockito and powermock. I have no issue stubbing methods that have no parameters. However when I try telling mockedBank to return true no matter what is passed into latePay, I get java.lang.NullPointerException. latePay is a final method that is why I am using powermock. Any suggestions are much appreciated.</p>
  
  <pre><code>    BankGenerator mockedBank = PowerMockito.mock(BankGenerator.class);
      when(mockedBank.latePay(Matchers.any(MoneyCalculator.class))).thenReturn(true);
  </code></pre>