PowerMock : How to test a private method
· β 4 min read · βοΈ Dinesh
βI HAVE THE POWER!!β β I had this feeling a few days ago. I will be honest that at work I do not get time to write unit test cases for each and every piece of code that I write. Often when I do have time, I make an effort to write test cases even for the trivial piece of code blocks such as β Check if properties file is present.