Buggy code:
@ RunWith ( Arquillian . class ) @ RunAsClient public class RaCfgMetricUnitTestCase extends DsMgmtTestBase { public static void setBaseAddress ( String rar ) { } private void removeRa ( ) throws Exception { } protected void setModel ( String modelName ) throws Exception { RaCfgMetricUnitTestCase . setBaseAddress ( ( modelName + ".rar" ) ) ; String xml = readXmlResource ( ( ( ( ( System . getProperty ( "jbossas.ts.integ.dir" ) ) + "//basic//src//test//resources//jca//metrics//ra//" ) + modelName ) + ".xml" ) ) ; <START_BUG> List < ModelNode > operations = xmlToModelOperations ( xml , CURRENT . getUriString ( ) , new ResourceAdapterSubsystemParser ( ) ) ; <END_BUG> executeOperation ( operationListToCompositeOperation ( operations ) ) ; } @ Test public void testAttributes ( ) throws Exception { } @ Test public void testEmpty ( ) throws Exception { } @ Test ( expected = Exception . class ) public void test2Archives ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNoArchives ( ) throws Exception { } @ Test public void test2DiffConfProp ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testConfPropWithEqualNames ( ) throws Exception { } @ Test public void testEmptyTrans ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testWrongTrans ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testWrong2Trans ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testWrongXAPoolWithTrans ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testWrongPoolWithXATrans ( ) throws Exception { } @ Test ( expected = Exception . class ) public void test2Pools ( ) throws Exception { } @ Test ( expected = Exception . class ) public void test2XaPools ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testPoolAndXaPool ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testMinPoolSize ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testMaxPoolSize ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testMinGtMaxPoolSize ( ) throws Exception { } @ Test public void testBoolPresProperties ( ) throws Exception { } @ Test public void testBoolPresPropertiesSet ( ) throws Exception { } @ Test public void testBoolPresPropertiesUnset ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testSecurity1 ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testSecurity2 ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testSecurity3 ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testSecurity4 ( ) throws Exception { } @ Test ( expected = Exception . class ) public void test2SecurityDomains ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testFlushStrategy ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegBlckgTmt ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegIdleTmt ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegAllocRetry ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegAllocRetryWait ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegXaResTmt ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testNegBckgValid ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testRecoverPlugin ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testConDefWoClass ( ) throws Exception { } @ Test ( expected = Exception . class ) public void testAoWoClass ( ) throws Exception { } }

Fix:
List < ModelNode > operations = xmlToModelOperations ( xml , RESOURCEADAPTERS_1_0 . getUriString ( ) , new ResourceAdapterSubsystemParser ( ) ) ;