Extract URIBuilder.build in helper class to avoid uncovered areas.