Help the world stop coronavirus! Stay home!

Prev Next

JUnit / Junit Interview questions III

Junit: How do I test a private method?

The private methods cannot be tested as any private method only be accessed within the same class.

The private method need to tested manually or be converted to protected method.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions