### Question:
ServiceURI { public static ServiceURI create(String uriStr) { checkNotNull(uriStr, "service uri string is null"); URI uri = URI.create(uriStr); return create(uri); }  static ServiceURI create(String uriStr); static ServiceURI create(URI uri); @SuppressFBWarnings("EI_EXPOSE_REP") String[] getServiceInfos(); @SuppressFBWarnings("EI_EXPOSE_REP") String[] getServiceHosts(); static final String SERVICE_ZK; static final String SERVICE_DLOG; static final String SERVICE_BK; static final int SERVICE_BK_PORT; static final ServiceURI DEFAULT_LOCAL_STREAM_STORAGE_SERVICE_URI; }### Answer:
@Test(expected = NullPointerException.class) public void testNullServiceUriString() { ServiceURI.create((String) null); }
@Test(expected = NullPointerException.class) public void testNullServiceUriInstance() { ServiceURI.create((URI) null); }
@Test(expected = IllegalArgumentException.class) public void testEmptyServiceUriString() { ServiceURI.create(""); }