}
@Test
public void testWriteMultipleNonDynamic() throws Exception {
IndexStructure structure = new BasicIndexStructure();
structure.addField("cat", new ElasticSearchFieldAttributes("cat", "string", "yes", "analyzed"), false);
structure.addField("menu", new ElasticSearchFieldAttributes("menu", "string", "yes", "no"), false);
StringWriter writer = new StringWriter();
ElasticsearchIndexStructureWriter indexWriter = new ElasticsearchIndexStructureWriter();
indexWriter.write(structure, writer);