@Test
  public void updateBridgeDiscoveryGroup() throws Exception {
    try {
      ConfigFragment editPanelFragment = page.getConfigFragment();
      Editor editor = editPanelFragment.edit();

      editor.text("staticConnectors", "");
      editor.text("discoveryGroup", DISCOVERY_GROUP_EDIT);
      boolean finished = editPanelFragment.save();

      Assert.assertTrue("Config should be saved and closed.", finished);
      new ResourceVerifier(BRIDGE_ADDRESS, client)
          .verifyAttribute("discovery-group", DISCOVERY_GROUP_EDIT);
    } finally {
      operations.undefineAttribute(BRIDGE_ADDRESS, "discovery-group");
    }
  }
  @Test
  public void updateTopicsJndiNames() throws InterruptedException, TimeoutException, IOException {
    page.getConfig().topicsConfig();
    page.selectInTable(TOPIC);

    String jndiName = "java:/jndi-name" + RandomStringUtils.randomAlphanumeric(5);

    ConfigFragment editPanelFragment = page.getConfigFragment();

    editPanelFragment.edit().text("entries", jndiName);
    boolean finished = editPanelFragment.save();

    administration.reloadIfRequired();

    assertTrue("Config should be saved and closed.", finished);

    ModelNodeResult result = operations.readAttribute(TOPIC_ADDRESS, "entries");

    Assert.assertTrue(result.hasDefinedValue() && result.stringValue().contains(jndiName));
  }