@Test
public void shouldPrefixRoutes() {

  final List<String> prefixedUris = Api.prefixRoutes(ROUTES, Api.Version.V3)
      .map(Route::uri)
      .collect(toList());
  assertThat(prefixedUris, is(List.of("/api/v3/foo", "/api/v3/bar")));
}