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