Source:
<code>public void testWrongOrderOfElements() throws Exception { container().tryStartAndWaitForFail(); String errorLog = container().getErrorMessageFromServerStart(); assertContains(errorLog, "OPVDX001: Validation error in standalone-full-ha.xml ---------------------------"); assertContains(errorLog, "<security enabled=\"false\"/>"); assertContains(errorLog, "^^^^ 'security' isn't an allowed element here"); assertContains(errorLog, "Elements allowed here are:"); assertContains(errorLog, "acceptor journal-directory"); assertContains(errorLog, "address-setting large-messages-directory"); assertContains(errorLog, "bindings-directory legacy-connection-factory"); assertContains(errorLog, "bridge live-only"); assertContains(errorLog, "cluster-connection paging-directory"); assertContains(errorLog, "connection-factory pooled-connection-factory"); assertContains(errorLog, "connector queue"); assertContains(errorLog, "connector-service remote-acceptor"); assertContains(errorLog, "divert remote-connector"); assertContains(errorLog, "grouping-handler replication-colocated"); assertContains(errorLog, "http-acceptor replication-master"); assertContains(errorLog, "http-connector replication-slave"); assertContains(errorLog, "in-vm-acceptor security-setting"); assertContains(errorLog, "in-vm-connector shared-store-colocated"); <START> assertContains(errorLog, "jgroup-broadcast-group shared-store-master"); <END> assertContains(errorLog, "jgroup-discovery-group shared-store-slave"); assertContains(errorLog, "jms-queue socket-broadcast-group"); assertContains(errorLog, "jms-topic socket-discovery-group"); assertContains(errorLog, "'security' is allowed in elements:"); assertContains(errorLog, "- server > profile > {urn:jboss:domain:messaging-activemq:"); assertContains(errorLog, "subsystem > server"); }</code><technical_language>jgroups-broadcast-group</technical_language>

Target:
public void testWrongOrderOfElements() throws Exception { container().tryStartAndWaitForFail(); String errorLog = container().getErrorMessageFromServerStart(); assertContains(errorLog, "OPVDX001: Validation error in standalone-full-ha.xml ---------------------------"); assertContains(errorLog, "<security enabled=\"false\"/>"); assertContains(errorLog, "^^^^ 'security' isn't an allowed element here"); assertContains(errorLog, "Elements allowed here are:"); assertContains(errorLog, "acceptor journal-directory"); assertContains(errorLog, "address-setting large-messages-directory"); assertContains(errorLog, "bindings-directory legacy-connection-factory"); assertContains(errorLog, "bridge live-only"); assertContains(errorLog, "cluster-connection paging-directory"); assertContains(errorLog, "connection-factory pooled-connection-factory"); assertContains(errorLog, "connector queue"); assertContains(errorLog, "connector-service remote-acceptor"); assertContains(errorLog, "divert remote-connector"); assertContains(errorLog, "grouping-handler replication-colocated"); assertContains(errorLog, "http-acceptor replication-master"); assertContains(errorLog, "http-connector replication-slave"); assertContains(errorLog, "in-vm-acceptor security-setting"); assertContains(errorLog, "in-vm-connector shared-store-colocated"); assertContains(errorLog, "jgroups-broadcast-group shared-store-master"); assertContains(errorLog, "jgroups-discovery-group shared-store-slave"); assertContains(errorLog, "jms-queue socket-broadcast-group"); assertContains(errorLog, "jms-topic socket-discovery-group"); assertContains(errorLog, "'security' is allowed in elements:"); assertContains(errorLog, "- server > profile > {urn:jboss:domain:messaging-activemq:"); assertContains(errorLog, "subsystem > server"); }