title: Nested private methods unit testing
body: <p>How do i write a just mocked unit test for this scenario?</p>
  
  <pre><code>Private Method1
  
  {
  
    //calls private method - Method2
  }
  </code></pre>
  
  <p>So that when i mock Method1, i need to again mock internally Method2.</p>
  
  <p>I use form's private accessor to create a unit test, for ex.</p>
  
  <pre><code>FormName_accessor target=new FormName_accessor();
  </code></pre>
  
  <p>and then use that target.Method1 to call inside my unit test.</p>