DBMessageResourceDAOImpl extends JdbcDaoSupport implements
        DBMessageResourceDAO { public void setVariantColumn(String variantColumn) { this.variantColumn = variantColumn; } protected  DBMessageResourceDAOImpl(); void setTableName(String tableName); void setCodeColumn(String codeColumn); void setLanguageColumn(String languageColumn); void setCountryColumn(String countryColumn); void setVariantColumn(String variantColumn); void setMessageColumn(String messageColumn); void setFindMessageSql(String findMessageSql); @SuppressWarnings("unchecked") @Override List<DBMessage> findDBMessages();  }
@Test public void testSetVariantColumn01() throws Exception { DBMessageResourceDAOImpl daoImpl = new DBMessageResourceDAOImpl(); daoImpl.variantColumn = null; daoImpl.setVariantColumn("test01"); assertEquals("test01", ReflectionTestUtils.getField(daoImpl, "variantColumn")); }