Buggy code:
public class ModelControllerImplUnitTestCase { private ServiceContainer container ; private NewModelController controller ; private AtomicBoolean sharedState ; public static final void toggleRuntimeState ( AtomicBoolean state ) { } @ Before public void setupController ( ) throws InterruptedException { } @ After public void shutdownServiceContainer ( ) { } public static class ModelControllerService implements Service < NewModelController > { final AtomicBoolean state = new AtomicBoolean ( true ) ; final CountDownLatch latch = new CountDownLatch ( 1 ) ; private NewModelController value ; private final ServiceContainer serviceContainer ; private final ControlledProcessState processState ; ModelControllerService ( final ServiceContainer serviceContainer , final ControlledProcessState processState ) { } @ Override public void start ( StartContext context ) throws StartException { ServiceTarget target = serviceContainer . subTarget ( ) ; ServiceController < ? > serviceController = context . getController ( ) ; ModelNodeRegistration rootRegistration = Factory . create ( ModelControllerImplUnitTestCase . DESC_PROVIDER ) ; rootRegistration . registerOperationHandler ( "setup" , new ModelControllerImplUnitTestCase . SetupHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; <START_BUG> rootRegistration . registerOperationHandler ( "composite" , new NewCompositeOperationHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; <END_BUG> rootRegistration . registerOperationHandler ( "good" , new ModelControllerImplUnitTestCase . ModelStageGoodHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "bad" , new ModelControllerImplUnitTestCase . ModelStageFailsHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "evil" , new ModelControllerImplUnitTestCase . ModelStageThrowsExceptionHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "handleFailed" , new ModelControllerImplUnitTestCase . RuntimeStageFailsHandler ( state ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "runtimeException" , new ModelControllerImplUnitTestCase . RuntimeStageThrowsExceptionHandler ( state ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "operationFailedException" , new ModelControllerImplUnitTestCase . RuntimeStageThrowsOFEHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "good-service" , new ModelControllerImplUnitTestCase . GoodServiceHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "bad-service" , new ModelControllerImplUnitTestCase . BadServiceHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "missing-service" , new ModelControllerImplUnitTestCase . MissingServiceHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "reload-required" , new ModelControllerImplUnitTestCase . ReloadRequiredHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( "restart-required" , new ModelControllerImplUnitTestCase . RestartRequiredHandler ( ) , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ; rootRegistration . registerOperationHandler ( READ_RESOURCE_OPERATION , READ_RESOURCE , READ_RESOURCE_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_ATTRIBUTE_OPERATION , READ_ATTRIBUTE , READ_ATTRIBUTE_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_RESOURCE_DESCRIPTION_OPERATION , READ_RESOURCE_DESCRIPTION , READ_RESOURCE_DESCRIPTION_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_CHILDREN_NAMES_OPERATION , READ_CHILDREN_NAMES , READ_CHILDREN_NAMES_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_CHILDREN_TYPES_OPERATION , READ_CHILDREN_TYPES , READ_CHILDREN_TYPES_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_CHILDREN_RESOURCES_OPERATION , READ_CHILDREN_RESOURCES , READ_CHILDREN_RESOURCES_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_OPERATION_NAMES_OPERATION , READ_OPERATION_NAMES , READ_OPERATION_NAMES_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( READ_OPERATION_DESCRIPTION_OPERATION , READ_OPERATION_DESCRIPTION , READ_OPERATION_PROVIDER , true ) ; rootRegistration . registerOperationHandler ( WRITE_ATTRIBUTE_OPERATION , WRITE_ATTRIBUTE , WRITE_ATTRIBUTE_PROVIDER , true ) ; rootRegistration . registerSubModel ( PathElement . pathElement ( "child" ) , ModelControllerImplUnitTestCase . DESC_PROVIDER ) ; value = new NewModelControllerImpl ( new ModelNode ( ) , context . getController ( ) . getServiceContainer ( ) , target , rootRegistration , new ContainerStateMonitor ( serviceContainer , serviceController ) , new ModelControllerImplUnitTestCase . NullConfigurationPersister ( ) , Type . SERVER , null , processState ) ; latch . countDown ( ) ; } @ Override public void stop ( StopContext context ) { } @ Override public NewModelController getValue ( ) throws IllegalArgumentException , IllegalStateException { } } @ Test public void testGoodModelExecution ( ) throws Exception { } @ Test public void testGoodModelExecutionTxRollback ( ) throws Exception { } @ Test public void testModelStageFailureExecution ( ) throws Exception { } @ Test public void testModelStageUnhandledFailureExecution ( ) throws Exception { } @ Test public void testHandleFailedExecution ( ) throws Exception { } @ Test public void testRuntimeStageFailedNoRollback ( ) throws Exception { } @ Test public void testRuntimeStageUnhandledFailureNoRollback ( ) throws Exception { } @ Test public void testOperationFailedExceptionNoRollback ( ) throws Exception { } @ Test public void testPathologicalRollback ( ) throws Exception { } @ Test public void testGoodService ( ) throws Exception { } @ Test public void testGoodServiceTxRollback ( ) throws Exception { } @ Test public void testBadService ( ) throws Exception { } @ Test public void testMissingService ( ) throws Exception { } @ Test public void testGlobal ( ) throws Exception { } public void testReloadRequired ( ) throws Exception { } @ Test public void testRestartRequired ( ) throws Exception { } @ Test public void testReloadRequiredTxRollback ( ) throws Exception { } @ Test public void testRestartRequiredTxRollback ( ) throws Exception { } public static ModelNode getOperation ( String opName , String attr , int val ) { } public static ModelNode getOperation ( String opName , String attr , int val , String rollbackName ) { } public static ModelNode getOperation ( String opName , String attr , int val , String rollbackName , boolean async ) { } public static class SetupHandler implements NewStepHandler { @ Override public void execute ( NewOperationContext context , ModelNode operation ) { } } public static class ModelStageGoodHandler implements NewStepHandler { @ Override public void execute ( NewOperationContext context , ModelNode operation ) { } } public static class ModelStageFailsHandler implements NewStepHandler { @ Override public void execute ( NewOperationContext context , ModelNode operation ) { } } public static class ModelStageThrowsExceptionHandler implements NewStepHandler { @ Override public void execute ( NewOperationContext context , ModelNode operation ) { } } public static class RuntimeStageFailsHandler implements NewStepHandler { private final AtomicBoolean state ; public RuntimeStageFailsHandler ( AtomicBoolean state ) { } @ Override public void execute ( NewOperationContext context , ModelNode operation ) { } }

Fix:
rootRegistration . registerOperationHandler ( "composite" , INSTANCE , ModelControllerImplUnitTestCase . DESC_PROVIDER , false ) ;