Buggy code:
@ RunWith ( Arquillian . class ) @ RunAsClient public class IronJacamarDeploymentTestCase extends ContainerResourceMgmtTestBase { @ Deployment public static ResourceAdapterArchive createDeployment ( ) throws Exception { } @ Test public void testConfiguration ( ) throws Throwable { ModelNode address = new ModelNode ( ) ; <START_BUG> address . add ( "deployment" , "ij.rar" ) . add ( "subsystem" , "resource-adapters" ) . add ( "ironjacamar" , "ironjacamar" ) . add ( "resource-adapter" , "ij" ) ; <END_BUG> ModelNode operation = new ModelNode ( ) ; operation . get ( OP ) . set ( "read-resource" ) ; operation . get ( OP_ADDR ) . set ( address ) ; operation . get ( RECURSIVE ) . set ( true ) ; ModelNode result = executeOperation ( operation ) ; assertEquals ( "Bootstrap-context<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , result . get ( "bootstrap-context" ) . asString ( ) , "default" ) ; assertEquals ( "Transaction-support<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , result . get ( "transaction-support" ) . asString ( ) , "XATransaction" ) ; assertEquals ( "RA<seq2seq4repair_space>config<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , result . get ( "config-properties" , "raProperty" , "value" ) . asString ( ) , "4" ) ; assertEquals ( "Bean<seq2seq4repair_space>validation<seq2seq4repair_space>groups<seq2seq4repair_space>set<seq2seq4repair_space>wrong" , result . get ( "beanvalidationgroups" ) . asString ( ) , "[\"org.jboss.as.test.integration.jca.beanvalidation.ra.ValidGroup\",\"org.jboss.as.test.integration.jca.beanvalidation.ra.ValidGroup1\"]" ) ; ModelNode node = result . get ( "admin-objects" , "java:jboss//VAO" ) ; Properties params = getAOProperties ( true ) ; assertTrue ( ( ( ( "compare<seq2seq4repair_space>failed,<seq2seq4repair_space>node:" + ( node . asString ( ) ) ) + "\nparams:" ) + params ) , checkModelParams ( node , params ) ) ; assertEquals ( "AO<seq2seq4repair_space>config<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , node . get ( "config-properties" , "aoProperty" , "value" ) . asString ( ) , "admin" ) ; node = result . get ( "admin-objects" , "java:jboss//VAO1" ) ; params = getAOProperties ( false ) ; assertTrue ( ( ( ( "compare<seq2seq4repair_space>failed,<seq2seq4repair_space>node:" + ( node . asString ( ) ) ) + "\nparams:" ) + params ) , checkModelParams ( node , params ) ) ; assertEquals ( "AO1<seq2seq4repair_space>config<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , node . get ( "config-properties" , "aoProperty" , "value" ) . asString ( ) , "admin1" ) ; node = result . get ( "connection-definitions" , "java:jboss//VCF" ) ; params = getCFProperties ( true ) ; assertTrue ( ( ( ( "compare<seq2seq4repair_space>failed,<seq2seq4repair_space>node:" + ( node . asString ( ) ) ) + "\nparams:" ) + params ) , checkModelParams ( node , params ) ) ; assertEquals ( "CF<seq2seq4repair_space>config<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , node . get ( "config-properties" , "cfProperty" , "value" ) . asString ( ) , "first" ) ; assertEquals ( "Recovery<seq2seq4repair_space>plugin<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , "C" , node . get ( "recovery-plugin-properties" , "Property" ) . asString ( ) ) ; node = result . get ( "connection-definitions" , "java:jboss//VCF1" ) ; params = getCFProperties ( false ) ; assertTrue ( ( ( ( "compare<seq2seq4repair_space>failed,<seq2seq4repair_space>node:" + ( node . asString ( ) ) ) + "\nparams:" ) + params ) , checkModelParams ( node , params ) ) ; assertEquals ( "CF1<seq2seq4repair_space>config<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , node . get ( "config-properties" , "cfProperty" , "value" ) . asString ( ) , "2nd" ) ; assertEquals ( "Recovery<seq2seq4repair_space>plugin<seq2seq4repair_space>1<seq2seq4repair_space>property<seq2seq4repair_space>value<seq2seq4repair_space>is<seq2seq4repair_space>wrong" , "C" , node . get ( "recovery-plugin-properties" , "Property" ) . asString ( ) ) ; } public Properties getAOProperties ( boolean firstAO ) { } public Properties getCFProperties ( boolean firstCF ) { } }

Fix:
address . add ( "deployment" , "ij.rar" ) . add ( "subsystem" , "resource-adapters" ) . add ( "ironjacamar" , "ironjacamar" ) . add ( "resource-adapter" , "ij.rar" ) ;