@Test
public void testUninstallingInstanceWithUsersDoesNotFail() throws Exception {
final Configuration conf = HBaseConfiguration.create();
final KijiURI uri = KijiURI.newBuilder(createTestHBaseURI()).withInstanceName("test").build();
final KijiInstaller installer = KijiInstaller.get();
installer.install(uri, conf);
Kiji kiji = Kiji.Factory.get().open(uri);
try {
installer.uninstall(uri, conf);
} finally {
kiji.release();