@Test
public void testInvalidResolution() {
final KijiURI uri = KijiURI.newBuilder("kiji-hbase://zkhost:1234").build();
try {
uri.resolve("instance/table/col/extra");
fail("An exception should have been thrown.");
} catch (KijiURIException kurie) {
assertEquals("Invalid Kiji URI: 'kiji-hbase://zkhost:1234/instance/table/col/extra' : "
+ "Too many path segments.", kurie.getMessage());
}