@Test
public void testDuplicateGroupCreation() throws IllegalArgumentException, UnauthorizedException, ConflictException {

  // create the group, not exception thrown
  provider.createGroup("Test 1", "Test group", "ROLE_ASTRO_101_SPRING_2011_STUDENT", "admin");
  // try create again and expect a conflict
  thrown.expect(ConflictException.class);
  provider.createGroup("Test 1", "Test group 2", "ROLE_ASTRO_101_SPRING_2011_STUDENT", "admin");
}