CommonPathPrefixBuilder { String getCommonPrefix() { return commonPrefix; }    }
@Test public void getCommonPrefix() { builder.addPath("discovery/v1/apis"); builder.addPath("discovery/v1/apis/{api}/rest"); assertThat(builder.getCommonPrefix()).isEqualTo("discovery/v1/"); }