Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My approach when I find myself wanting to test private methods is often to extract a new class, for which the methods under question form the public interface (working with Java here).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: