@Test (timeout = 30000)
public void testStringToURI() {

  String[] str = new String[] { "file://" };
  try {
    StringUtils.stringToURI(str);
    fail("Ignoring URISyntaxException while creating URI from string file://");
  } catch (IllegalArgumentException iae) {
    assertEquals("Failed to create uri for file://", iae.getMessage());
  }
}