Buggy code:
@ Test public void test711StandaloneOsgiOnlyXml ( ) throws Exception { } @ Test public void test711StandaloneXtsXml ( ) throws Exception { } @ Test public void test712StandaloneXml ( ) throws Exception { } @ Test public void test712StandaloneFullHaXml ( ) throws Exception { } @ Test public void test712StandaloneFullXml ( ) throws Exception { } @ Test public void test712StandaloneHornetQCollocatedXml ( ) throws Exception { } @ Test public void test712StandaloneJtsXml ( ) throws Exception { } @ Test public void test712StandaloneMinimalisticXml ( ) throws Exception { } @ Test public void test712StandaloneOsgiOnlyXml ( ) throws Exception { } @ Test public void test712StandaloneXtsXml ( ) throws Exception { } @ Test public void test713StandaloneXml ( ) throws Exception { } @ Test public void test713StandaloneFullHaXml ( ) throws Exception { } @ Test public void test713StandaloneFullXml ( ) throws Exception { } @ Test public void test713StandaloneHornetQCollocatedXml ( ) throws Exception { } @ Test public void test713StandaloneJtsXml ( ) throws Exception { } @ Test public void test713StandaloneMinimalisticXml ( ) throws Exception { } @ Test public void test713StandaloneOsgiOnlyXml ( ) throws Exception { } @ Test public void test713StandaloneXtsXml ( ) throws Exception { } private ModelNode standaloneXmlTest ( File original ) throws Exception { } @ Test public void testHostXml ( ) throws Exception { } @ Test public void test700HostXml ( ) throws Exception { } @ Test public void test701HostXml ( ) throws Exception { } @ Test public void test702HostXml ( ) throws Exception { } @ Test public void test710HostXml ( ) throws Exception { } @ Test public void test711HostXml ( ) throws Exception { } @ Test public void test712HostXml ( ) throws Exception { } @ Test public void test713HostXml ( ) throws Exception { } private void hostXmlTest ( final File original ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void testDomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test700DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test701DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test702DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test710DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test711DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test712DomainXml ( ) throws Exception { } @ Test @ TargetsContainer ( "class-jbossas" ) public void test713DomainXml ( ) throws Exception { } private ModelNode domainXmlTest ( File original ) throws Exception { } private static void fixupOSGiStandalone ( ModelNode node ) { } private static void fixupOSGiDomain ( ModelNode node ) { } private static String convertToSingleLine ( String value ) { } private void compare ( ModelNode node1 , ModelNode node2 ) { } private static void validateJsfProfiles ( ModelNode model ) { } private static void validateJsfSubsystem ( ModelNode model ) { } private ModelNode loadServerModel ( final File file ) throws Exception { final ExtensionRegistry extensionRegistry = new ExtensionRegistry ( ProcessType . STANDALONE_SERVER , new org . jboss . as . controller . RunningModeControl ( RunningMode . ADMIN_ONLY ) ) ; final QName rootElement = new QName ( CURRENT . getUriString ( ) , "server" ) ; final StandaloneXml parser = new StandaloneXml ( Module . getBootModuleLoader ( ) , null , extensionRegistry ) ; final XmlConfigurationPersister persister = new XmlConfigurationPersister ( file , rootElement , parser , parser ) ; for ( Namespace namespace : Namespace . domainValues ( ) ) { if ( namespace != ( Namespace . CURRENT ) ) { persister . registerAdditionalRootElement ( new QName ( namespace . getUriString ( ) , "server" ) , parser ) ; } } extensionRegistry . setWriterRegistry ( persister ) ; final List < ModelNode > ops = persister . load ( ) ; final ModelNode model = new ModelNode ( ) ; final ModelController controller = createController ( STANDALONE_SERVER , model , new ParseAndMarshalModelsTestCase . Setup ( ) { public void setup ( Resource resource , ManagementResourceRegistration rootRegistration ) { <START_BUG> ServerRootResourceDefinition def = new ServerRootResourceDefinition ( new ParseAndMarshalModelsTestCase . MockContentRepository ( ) , persister , null , null , null , null , extensionRegistry , false , ParseAndMarshalModelsTestCase . MOCK_PATH_MANAGER ) ; <END_BUG> def . registerAttributes ( rootRegistration ) ; def . registerOperations ( rootRegistration ) ; def . registerChildren ( rootRegistration ) ; } } ) ; final ModelNode caputreModelOp = new ModelNode ( ) ; caputreModelOp . get ( OP_ADDR ) . set ( EMPTY_ADDRESS . toModelNode ( ) ) ; caputreModelOp . get ( OP ) . set ( "capture-model" ) ; final List < ModelNode > toRun = new ArrayList < ModelNode > ( ops ) ; toRun . add ( caputreModelOp ) ; executeOperations ( controller , toRun ) ; persister . store ( model , null ) . commit ( ) ; return model ; } private ModelNode loadHostModel ( final File file ) throws Exception { } private ModelNode loadDomainModel ( File file ) throws Exception { } public ModelController createController ( final ProcessType processType , final ModelNode model , final ParseAndMarshalModelsTestCase . Setup registration ) throws InterruptedException { } private void executeOperations ( ModelController controller , List < ModelNode > ops ) { } private File getOriginalStandaloneXml ( String profile ) throws FileNotFoundException { } private File getOriginalHostXml ( final String profile ) throws FileNotFoundException { } private File getOriginalDomainXml ( final String profile ) throws FileNotFoundException { } private File getLegacyConfigFile ( String type , String profile ) throws FileNotFoundException { } private File getDocsExampleConfigFile ( String name ) throws FileNotFoundException { } private File getGeneratedExampleConfigFile ( String name ) throws FileNotFoundException { } private File getHostConfigDir ( ) throws FileNotFoundException { } private File getDomainConfigDir ( ) throws FileNotFoundException { }

Fix:
ServerRootResourceDefinition def = new ServerRootResourceDefinition ( new ParseAndMarshalModelsTestCase . MockContentRepository ( ) , persister , null , null , null , null , extensionRegistry , false , ParseAndMarshalModelsTestCase . MOCK_PATH_MANAGER , null ) ;