Ping extends GenericResultAbstractAction { @Override public String getRestMethodName() { return "GET"; } protected  Ping(Builder builder); @Override String getRestMethodName();  }
@Test public void testBasicUriGeneration() { Ping ping = new Ping.Builder().build(); assertEquals("GET", ping.getRestMethodName()); assertNull(ping.getData(null)); assertEquals("", ping.getURI(ElasticsearchVersion.UNKNOWN)); }