title: Testing - how to create Mock object
body: <p>I am just wondering how can I create Mock object to test code like:</p>
  
  <pre><code>public class MyTest
  {
    private A a;
    public MyTest()
    {
       a=new A(100,101);
    }
  }
  </code></pre>
  
  <p>?</p>
  
  <p>Thanks</p>