I'm trying to expose my private method to unit testing. I saw this example in UnitTesting Succintly:
public class DoesSomething
{
#if TEST
public
#else
private
#endif
void SomeComputation() {
}
}
Here is my attempted at it but the code still appears private when trying to access via test.
#if TEST
public
#else
private
#endif
Organization TransformToOrganization(OrgChartOrganizationUnitType org)
{
...
}