@Test
public void testCreateCmdForCreateOrDropRole() {

  String roleName = "testRole";
  String createRoleCmdResult = CommandUtil.createCmdForCreateOrDropRole(
      roleName, true);
  String dropRoleCmdResult = CommandUtil.createCmdForCreateOrDropRole(
      roleName, false);
  String createRoleCmdExcepted = "CREATE ROLE testRole";
  String dropRoleCmdExcepted = "DROP ROLE testRole";
  assertEquals(createRoleCmdExcepted, createRoleCmdResult);
  assertEquals(dropRoleCmdResult, dropRoleCmdExcepted);
}