@Test(expected=IllegalStateException.class)
public void testDuplicateIds() {

  Configuration conf = new Configuration(false);
  conf.setInt(SingleUGIResolver.UID, 4344);
  conf.setInt(SingleUGIResolver.GID, 4344);
  conf.set(SingleUGIResolver.USER, TESTUSER);
  conf.set(SingleUGIResolver.GROUP, TESTGROUP);
  ugi.setConf(conf);
  ugi.ugiMap();
}