title: Mockito UnsatisfiedLinkError
body: <p>I am getting a</p>
  
  <p>java.lang.UnsatisfiedLinkError:</p>
  
  <p>NumberFormatCustom.toFixed(DI)Ljava/lang/String;</p>
  
  <p>NumberFormatCustom.toFixed(Native Method)</p>
  
  <pre><code>@Test
  public void prepareDeForFormTest() {
      assertEquals("", FormHelper.prepareDeForForm(null));
      Double myDouble = 123.;
      when(NumberFormatCustom.getIntegerInstance(true).format(myDouble)).thenReturn("123");
      assertEquals(FormHelper.prepareDeForForm(myDouble), NumberFormatCustom.getIntegerInstance(true).format(myDouble));
  }
  </code></pre>
  
  <p>The method <strong>toFix</strong> shown in the error is called in the <strong>format</strong> method, do I have to mock the result of toFix as well ? How can I do that ? </p>