public void testGrobidModelsEnum_StandardModel_name() throws Exception {
GrobidModel model = GrobidModels.HEADER;
assertThat(model.getFolderName(), is("header"));
assertThat(model.getModelName(), is("header"));
assertThat(model.getTemplateName(), is("header.template"));
<BUG>assertThat(model.getModelPath(), endsWith("/grobid/grobid-home/models/header/model.wapiti"));
}</BUG>
@Test
public void testGrobidModelsEnum_CustomModel() throws Exception {
GrobidModel model = GrobidModels.modelFor("dictionaries-senses");

public void testGrobidModelsEnum_StandardModel_name() throws Exception {
GrobidModel model = GrobidModels.HEADER;
assertThat(model.getFolderName(), is("header"));
assertThat(model.getModelName(), is("header"));
assertThat(model.getTemplateName(), is("header.template"));
String[] splittedPath = model.getModelPath().split("[/\\\\]");
assertThat(splittedPath[splittedPath.length-1], is("model.wapiti"));
assertThat(splittedPath[splittedPath.length-2], is("header"));
assertThat(splittedPath[splittedPath.length-4], is("grobid-home"));
}
@Test
public void testGrobidModelsEnum_CustomModel() throws Exception {
GrobidModel model = GrobidModels.modelFor("dictionaries-senses");
