T
Tom P.
I am starting to get into the Unit Testing in VS2008 and I have a
question: How do I access a public field and a private field in the
same object? I have seen the _Accessor and I can use it to execute a
protected method but I can't Assert the test passes because the field
I should check is public and not included in the _Accessor object.
So what do I do here? How do I create an object that allows me to
access the public AND protected members?
Thanks in advance,
Tom P.
question: How do I access a public field and a private field in the
same object? I have seen the _Accessor and I can use it to execute a
protected method but I can't Assert the test passes because the field
I should check is public and not included in the _Accessor object.
So what do I do here? How do I create an object that allows me to
access the public AND protected members?
Thanks in advance,
Tom P.