.prepareGetTemplates(".partitioned.partitioned.").execute().actionGet();
assertThat(response.getIndexTemplates().size(), is(1));
IndexTemplateMetaData templateMeta = response.getIndexTemplates().get(0);
assertThat(templateMeta.getName(), is(".partitioned.partitioned."));
assertThat(templateMeta.mappings().get(Constants.DEFAULT_MAPPING_TYPE).string(),
is("{\"default\":" +
"{\"properties\":{" +
"\"id\":{\"type\":\"integer\",\"store\":false,\"index\":\"not_analyzed\",\"doc_values\":true}," +
"\"name\":{\"type\":\"string\",\"store\":false,\"index\":\"not_analyzed\",\"doc_values\":true}," +
"\"names\":{\"type\":\"string\",\"store\":false,\"index\":\"not_analyzed\",\"doc_values\":false}" +