@Test
public void testMapUri() {

    String uuid = UUID.randomUUID().toString();
    String instanceId = "i-07d1b67286b43458e";
    String path = "/segment1_" + uuid + "/segment2_" + instanceId;
    assertThat(KubeApiClients.mapUri(newRequest(path))).isEqualTo("/segment1_/segment2_");
}