@Test(expected = IOException.class)
public void testInvalidUriScheme() throws Exception {

  // This URI cannot be relativized against chttp://www.example.com:9000/repo/ (wrong scheme)
  this.cachedHttpFileSystem.open(new Path("http://www.wrongurl.com/repo/some.jar"), 0);
}