title: How to mock new instance where it return interface reference
body: <p>I have a scenario like this</p>
  
  <pre><code>MyInterface myObject = new MyInterfaceImplementedClass();
  myObject.get(...)
  </code></pre>
  
  <p>I want to mock the MyInterfaceImplementedClass, I tried like below</p>
  
  <pre><code>private MyInterface mockMyObject
  private MyInterfaceImplementedClass mockMyClassObject
  
  // the below compilation error 
  whenNew(MyInterfaceImplementedClass.class).withNoArguments().thenReturn(mockMyObject);
  // no compilation error but not giving mocking instance at runtime
  whenNew(MyInterfaceImplementedClass.class).withNoArguments().thenReturn(mockMyClassObject);
  </code></pre>
  
  <p>Please help me on this</p>