@Test
public void testBasicUriGeneration() {

    PutMapping putMapping = new PutMapping.Builder("twitter", "tweet", "source").build();
    assertEquals("PUT", putMapping.getRestMethodName());
    assertEquals("twitter/tweet/_mapping", putMapping.getURI(ElasticsearchVersion.UNKNOWN));
}