### Question:
IRODSUriUserInfo { public static IRODSUriUserInfo localInstance(final String user, final String password) { return new IRODSUriUserInfo(user, null, password); } private  IRODSUriUserInfo(final String user, final String zone, final String password); static IRODSUriUserInfo instance(final String user, final String zone, final String password); static IRODSUriUserInfo localInstance(final String user, final String password); static IRODSUriUserInfo unauthenticatedInstance(final String user, final String zone); static IRODSUriUserInfo unauthenticatedLocalInstance(final String user); @Override String toString(); String getUserName(); String getZone(); String getPassword();  }### Answer:
@Test public void testLocalInstance() { final IRODSUriUserInfo info = IRODSUriUserInfo.localInstance("user", "password"); Assert.assertEquals("user:password", info.toString()); }