title: Mock a new object creation
body: <p>I am using EasyMocks.<br>
  Inside a method there is a new object created. And upon that object a method is called which returns a map. As show below</p>
  
  <pre><code>test(){
     Fun f= new Fun();
      Map m =f.getaMap();
  }
  </code></pre>
  
  <p>I want to return a custom Map at that time. How do i do it.<br>
  Thanks.</p>