Whatever you do... disregard this article. You should NEVER in no circumstances ... any ... never .. don't .. ever:
NEVER test private or protected methods. This is not a controversial topic. You are testing implementation details, those can and will change. Unit testing tests the public API of units of software.
FFS... articles like this are so so so dangerous when they posit such things are correct.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Whatever you do... disregard this article. You should NEVER in no circumstances ... any ... never .. don't .. ever:
NEVER test private or protected methods. This is not a controversial topic. You are testing implementation details, those can and will change. Unit testing tests the public API of units of software.
FFS... articles like this are so so so dangerous when they posit such things are correct.