LuceneStorageConfiguration implements Writable { public Configuration getConfiguration() { return configuration; } LuceneStorageConfiguration(Configuration configuration, List<Path> indexPaths, Path sequenceFilesOutputPath,
                                    String idField, List<String> fields);  LuceneStorageConfiguration();  LuceneStorageConfiguration(Configuration conf); Configuration serialize(); Iterator<Pair<Text, Text>> getSequenceFileIterator(); Configuration getConfiguration(); Path getSequenceFilesOutputPath(); List<Path> getIndexPaths(); String getIdField(); List<String> getFields(); void setQuery(Query query); Query getQuery(); void setMaxHits(int maxHits); int getMaxHits(); DocumentStoredFieldVisitor getStoredFieldVisitor(); @Override void write(DataOutput out); @Override void readFields(DataInput in); @Override boolean equals(Object o); @Override int hashCode();  }
@Test(expected = IllegalArgumentException.class) public void testSerializationNotSerialized() throws IOException { new LuceneStorageConfiguration(getConfiguration()); }