### Question:
IRODSUriUtils { public static URI buildBaseURI(final String host, final int port, final IRODSUriUserInfo userInfo) { try { final StringBuilder uriBuilder = new StringBuilder(); uriBuilder.append(SCHEME).append(SCHEME_TERMINUS); if (userInfo != null) { uriBuilder.append(userInfo).append(USER_INFO_TERMINUS); } uriBuilder.append(host).append(PORT_INDICATOR).append(port); uriBuilder.append(PATH_SEPARATOR); return new URI(uriBuilder.toString()); } catch (final URISyntaxException e) { throw new JargonRuntimeException(e); } }  static IRODSUriUserInfo getUserInfo(final URI irodsURI); static String getUserName(final URI irodsURI); static String getZone(final URI irodsURI); static String getPassword(final URI irodsURI); static String getHostFromURI(final URI uri); static int getPortFromURI(final URI uri); static String getAbsolutePathFromURI(final URI uri); static IRODSAccount getIRODSAccountFromURI(final URI irodsURI); static boolean isIRODSURIScheme(final URI irodsURI); static URI buildBaseURI(final String host, final int port, final IRODSUriUserInfo userInfo); static URI buildBaseURI(final String host, final int port, final String username); static URI buildURI(final String host, final int port, final IRODSUriUserInfo userInfo,
			final String absPath); static URI buildURI(final String host, final int port, final String username, final String absPath); static URI buildAnonymousURI(final String host, final int port, final String absPath); static URI buildURIForAnAccountAndPath(final IRODSAccount irodsAccount, final String irodsPath); static URI buildURIForAnAccountWithNoUserInformationIncluded(final IRODSAccount irodsAccount,
			final String irodsPath);  }### Answer:
@Test public void testBuildBaseURI() throws Exception { final URI expectedURI = new URI("irods: final URI actualURI = buildBaseURI("host.domain", 10000, "user"); assertEquals("uri not computed correctly", expectedURI, actualURI); }