@Test
public void testCreateDuplicateRole() throws Exception {

  String roleName = "test-dup-role";
  sentryStore.createSentryRole(roleName);
  try {
    sentryStore.createSentryRole(roleName);
    fail("Expected SentryAlreadyExistsException");
  } catch(SentryAlreadyExistsException e) {
    // expected
  }
}