ExcelSpreadSheetCellDAOSerde extends AbstractSerDe { @Override public void initialize(Configuration conf, Properties tbl) throws SerDeException { this.initialize(conf, tbl, null); }  @Override void initialize(Configuration conf, Properties tbl); @Override void initialize(Configuration conf, Properties prop, Properties partitionProperties); @Override Class<? extends Writable> getSerializedClass(); @Override Writable serialize(Object arg0, ObjectInspector arg1); @Override SerDeStats getSerDeStats(); @Override Object deserialize(Writable arg0); @Override ObjectInspector getObjectInspector();  }
@Test public void initializePositive() throws SerDeException { ExcelSpreadSheetCellDAOSerde testSerde = new ExcelSpreadSheetCellDAOSerde(); Configuration conf = new Configuration(); Properties tblProperties = new Properties(); tblProperties.setProperty("hadoopoffice.write.header.write", "true"); tblProperties.setProperty("hadoopoffice.read.locale.bcp47", "de"); tblProperties.setProperty("hadoopoffice.read.linkedworkbooks", "true"); tblProperties.setProperty(serdeConstants.LIST_COLUMNS, "column1,column2"); tblProperties.setProperty(serdeConstants.LIST_COLUMN_TYPES, "string,string"); testSerde.initialize(conf, tblProperties); assertEquals("de", conf.get("hadoopoffice.read.locale.bcp47", "us"), "HadoopOffice Hadoop configuration option set"); assertTrue(conf.getBoolean("hadoopoffice.read.linkedworkbooks", false), "HaodoopOffice Hadoop configuration option set boolean"); }