@Test
public void testGetGroupsNonexistentUser() throws Exception {

  TestGroupUserNotExist mapping = new TestGroupUserNotExist();
  List<String> groups = mapping.getGroups("foobarusernotexist");
  assertTrue(groups.isEmpty());
}