junit - IllegalAccessException: Class BlockJUnit4ClassRunner can not access a member of class Abc with modifiers "private" -


downloaded junit-4.12.jar , hamcrest-core-1.3.jar (both latest time being), when try run unit tests, exception private (or protected) fields attribute parameter. when change fields public, fine.

any comments?

enter image description here

sorry mistake, parameterized test documentation defines fields public.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -