I have a Private property that I want to access in my MS Test unit test.
// Make a local property for control so that we can mock the control object.
private Control localControl
{
get{return Control.Instance;}
}
I go to that unit, right click and select Create Private Accessor->MyUnitTestProject
The status bar says that the accessor was made for the project (no the unit).
But when I try to call it (mediator.localControl
) it cannot find it.