private void testJBossWSRuntimeDeletion() {
    jbossWSRuntimePreferencePage.select(0);
    jbossWSRuntimePreferencePage.remove();

    new WaitUntil(new ShellWithTextIsActive("Confirm Runtime Delete"));
    new PushButton("OK").click();
    new WaitWhile(new ShellWithTextIsActive("Confirm Runtime Delete"));

    assertThat(jbossWSRuntimePreferencePage.getAllJBossWSRuntimes().size(), Is.is(0));
  }
  private void testJBossWSRuntimeEdition() {
    jbossWSRuntimePreferencePage.select(0);
    jbossWSRuntimePreferencePage.edit();

    jbossWsRuntimeDialog = new JBossWSRuntimeListFieldEditor(true);

    jbossWsRuntimeDialog.setName(runtimeEditedName);
    jbossWsRuntimeDialog.finish();

    new WaitWhile(new ShellWithTextIsActive(EDIT_JBOSS_WS_RUNTIME_DIALOG_TITLE));

    assertRuntimeName(runtimeEditedName);
  }