Buggy code:
public class ServerControllerUnitTestCase { private final ServiceContainer container = Factory . create ( ) ; private ModelController controller ; @ Before public void beforeClass ( ) throws Exception { final ServiceTarget target = container . subTarget ( ) ; <START_BUG> final ServerControllerUnitTestCase . StringConfigurationPersister persister = new ServerControllerUnitTestCase . StringConfigurationPersister ( Collections . < ModelNode > emptyList ( ) , new StandaloneXml ( null ) ) ; <END_BUG> final ControlledProcessState processState = new ControlledProcessState ( true ) ; final ServerControllerUnitTestCase . ModelControllerService svc = new ServerControllerUnitTestCase . ModelControllerService ( Type . MANAGEMENT , processState , persister ) ; final ServiceBuilder < ModelController > builder = target . addService ( JBOSS_SERVER_CONTROLLER , svc ) ; builder . install ( ) ; svc . latch . await ( ) ; this . controller = svc . getValue ( ) ; } @ After public void afterClass ( ) { } @ Test public void testInterfacesAlternatives ( ) throws IOException { } @ Test public void testUpdateInterface ( ) throws IOException { } @ Test public void testComplexInterface ( ) throws IOException { } protected void populateCritieria ( final ModelNode model , final boolean nested ) { } private static class ModelControllerService extends AbstractControllerService { final CountDownLatch latch = new CountDownLatch ( 1 ) ; final ServerControllerUnitTestCase . StringConfigurationPersister persister ; final ControlledProcessState processState ; volatile ManagementResourceRegistration rootRegistration ; volatile Exception error ; ModelControllerService ( final OperationContext . Type type , final ControlledProcessState processState , final ServerControllerUnitTestCase . StringConfigurationPersister persister ) { } @ Override protected void initModel ( Resource rootResource , ManagementResourceRegistration rootRegistration ) { } @ Override protected void boot ( List < ModelNode > bootOperations ) throws ConfigurationPersistenceException { } @ Override public void start ( StartContext context ) throws StartException { } } static class StringConfigurationPersister extends AbstractConfigurationPersister { private final List < ModelNode > bootOperations ; volatile String marshalled ; public StringConfigurationPersister ( List < ModelNode > bootOperations , XMLElementWriter < ModelMarshallingContext > rootDeparser ) { } @ Override public PersistenceResource store ( ModelNode model , Set < PathAddress > affectedAddresses ) throws ConfigurationPersistenceException { } @ Override public List < ModelNode > load ( ) throws ConfigurationPersistenceException { } private class StringPersistenceResource implements PersistenceResource { private byte [ ] bytes ; private final AbstractConfigurationPersister persister ; StringPersistenceResource ( final ModelNode model , final AbstractConfigurationPersister persister ) throws ConfigurationPersistenceException { } @ Override public void commit ( ) { } @ Override public void rollback ( ) { } } } static ModelNode readResource ( final ModelControllerClient client , final ModelNode address ) { } static void executeForFailure ( final ModelControllerClient client , final ModelNode operation ) { } static ModelNode executeForResult ( final ModelControllerClient client , final ModelNode operation ) { } }

Fix:
final ServerControllerUnitTestCase . StringConfigurationPersister persister = new ServerControllerUnitTestCase . StringConfigurationPersister ( Collections . < ModelNode > emptyList ( ) , new StandaloneXml ( null , null ) ) ;