As already mentioned, test it if you feel the need and you can, but keep in mind that the unit test of a private method is likely to be violated if someone modifies it, which can be a great pain in the ass in a large project with a large number of unit tests, my advice would be to check only those methods whose functionality is very clear and unlikely to be changed.
source
share