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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

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

android - Facebook Login CallbackManager FacebookCallback called onCancel() every time -