JdbcWrapperHelper { static void setFieldValue(Object object, String fieldName, Object value) throws IllegalAccessException { getAccessibleField(object, fieldName).set(object, value); } private  JdbcWrapperHelper();   }
@Test public void testSetFieldValue() throws IllegalAccessException { final Object value = JdbcWrapperHelper.getFieldValue(JdbcWrapper.SINGLETON, "sqlCounter"); JdbcWrapperHelper.setFieldValue(JdbcWrapper.SINGLETON, "sqlCounter", value); }