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 -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -