ForceMerge extends GenericResultAbstractAction { @Override public String getRestMethodName() { return "POST"; } protected  ForceMerge(Builder builder); @Override String getRestMethodName();  }
@Test public void testBasicUriGeneration() { ForceMerge forceMerge = new ForceMerge.Builder().addIndex("twitter").build(); assertEquals("POST", forceMerge.getRestMethodName()); assertEquals("twitter/_forcemerge", forceMerge.getURI(ElasticsearchVersion.UNKNOWN)); }