Buggy code:
public class JMXSubsystemTestCase extends AbstractSubsystemTest { private static final String LAUNCH_TYPE = "launch-type" ; private static final String TYPE_STANDALONE = "STANDALONE" ; public JMXSubsystemTestCase ( ) { } @ Test public void testParseEmptySubsystem ( ) throws Exception { } @ Test public void testParseSubsystemWithBadChild ( ) throws Exception { } @ Test public void testParseSubsystemWithBadAttribute ( ) throws Exception { } @ Test public void testParseSubsystemWithConnector ( ) throws Exception { } @ Test public void testParseSubsystemWithTwoConnectors ( ) throws Exception { } @ Test public void testParseSubsystemWithBadConnectorAttribute ( ) throws Exception { } @ Test public void testInstallIntoController ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_0 ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_1WithShowModel ( ) throws Exception { } @ Test public void testParseAndMarshalModelWithRemoteConnectorRef1_1 ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_1 ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_2WithShowModels ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_2WithShowModelsAndOldPropertyFormat ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_3WithShowModels ( ) throws Exception { } @ Test public void testParseAndMarshalModel1_3WithShowModelsAndOldPropertyFormat ( ) throws Exception { } @ Test public void testParseAndMarshallModelWithAuditLogButNoHandlerReferences ( ) throws Exception { } @ Test public void testParseAndMarshallModelWithAuditLogAndHandlerReferences ( ) throws Exception { } @ Test public void testDescribeHandler ( ) throws Exception { } @ Test public void testShowModelAlias ( ) throws Exception { } @ Test public void testTransformationAS712 ( ) throws Exception { } @ Test public void testTransformationAS713 ( ) throws Exception { } @ Test public void testTransformationEAP600 ( ) throws Exception { } @ Test public void testTransformationAS600 ( ) throws Exception { } private void testTransformation_1_0_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } @ Test public void testTransformationAS720 ( ) throws Exception { } @ Test public void testTransformationEAP610 ( ) throws Exception { } @ Test public void testTransformationEAP611 ( ) throws Exception { } private void testTransformation_1_1_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } @ Test public void testRejectExpressionsAS712 ( ) throws Exception { } @ Test public void testRejectExpressionsAS713 ( ) throws Exception { } @ Test public void testRejectExpressionsEAP600 ( ) throws Exception { } @ Test public void testRejectExpressionsEAP601 ( ) throws Exception { } private void testRejectExpressions_1_0_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } @ Test public void testRejection720 ( ) throws Exception { } @ Test public void testRejectionEAP610 ( ) throws Exception { } @ Test public void testRejectionEAP611 ( ) throws Exception { } private void testRejectExpressions_1_1_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } private List < FailedOperationTransformationConfig . AttributesPathAddressConfig < ? > > createChainedConfigList ( FailedOperationTransformationConfig < ? > ... cfgs ) { } private void check_1_0_0_Model ( ModelNode legacySubsystem , boolean remotingConnector , boolean showModel ) { } private void checkDiscardedOperation ( ModelNode op , KernelServices mainServices , ModelVersion oldVersion ) throws OperationFailedException { } private void checkRejectedOperation ( ModelNode op , KernelServices mainServices , ModelVersion oldVersion ) throws OperationFailedException { } private void assertJmxConnectorAddress ( ModelNode address ) { } private void assertJmxSubsystemAddress ( ModelNode address ) { } private static ModelNode createOperation ( String name , String ... addressElements ) { } private static class BaseAdditionalInitalization extends AdditionalInitialization { @ Override protected void initializeExtraSubystemsAndModel ( ExtensionRegistry extensionRegistry , Resource rootResource , ManagementResourceRegistration rootRegistration ) { } @ Override protected void setupController ( ControllerInitializer controllerInitializer ) { } @ Override protected void addExtraServices ( final ServiceTarget target ) { <START_BUG> ManagementRemotingServices . installRemotingEndpoint ( target , MANAGEMENT_ENDPOINT , "localhost" , MANAGEMENT , null , null ) ; <END_BUG> ServiceName tmpDirPath = JBOSS . append ( "server" , "path" , "jboss.controller.temp.dir" ) ; RemotingServices . installSecurityServices ( target , "remote" , null , null , tmpDirPath , null , null ) ; RemotingServices . installConnectorServicesForSocketBinding ( target , MANAGEMENT_ENDPOINT , "remote" , JBOSS_BINDING_NAME . append ( "remote" ) , EMPTY , null , null ) ; } } private static class AuditLogInitialization extends JMXSubsystemTestCase . BaseAdditionalInitalization { @ Override protected void initializeExtraSubystemsAndModel ( ExtensionRegistry extensionRegistry , Resource rootResource , ManagementResourceRegistration rootRegistration ) { } } private static class ManagementAuditLogInitialization extends AdditionalInitialization . ManagementAdditionalInitialization { private static final long serialVersionUID = 1L ; @ Override protected void initializeExtraSubystemsAndModel ( ExtensionRegistry extensionRegistry , Resource rootResource , ManagementResourceRegistration rootRegistration ) { } } private static class CorrectDomainNameConfig extends FailedOperationTransformationConfig . AttributesPathAddressConfig < JMXSubsystemTestCase . CorrectDomainNameConfig > { public CorrectDomainNameConfig ( AttributeDefinition ... attributes ) { } @ Override protected boolean isAttributeWritable ( String attributeName ) { } @ Override protected boolean checkValue ( String attrName , ModelNode attribute , boolean isWriteAttribute ) { } @ Override protected ModelNode correctValue ( ModelNode toResolve , boolean isWriteAttribute ) { } } private static class CorrectPropertyFormatConfig extends FailedOperationTransformationConfig . AttributesPathAddressConfig < JMXSubsystemTestCase . CorrectDomainNameConfig > { public CorrectPropertyFormatConfig ( AttributeDefinition ... attributes ) { } @ Override protected boolean isAttributeWritable ( String attributeName ) { } @ Override protected boolean checkValue ( String attrName , ModelNode attribute , boolean isWriteAttribute ) { } @ Override protected ModelNode correctValue ( ModelNode toResolve , boolean isWriteAttribute ) { } } private static class ChangeEnabledFromTrueToFalseConfig extends FailedOperationTransformationConfig . AttributesPathAddressConfig < JMXSubsystemTestCase . ChangeEnabledFromTrueToFalseConfig > { ChangeEnabledFromTrueToFalseConfig ( AttributeDefinition ... attributes ) { } @ Override protected boolean isAttributeWritable ( String attributeName ) { } @ Override protected boolean checkValue ( String attrName , ModelNode attribute , boolean isWriteAttribute ) { } @ Override protected ModelNode correctValue ( ModelNode toResolve , boolean isWriteAttribute ) { } } }

Fix:
ManagementRemotingServices . installRemotingManagementEndpoint ( target , MANAGEMENT_ENDPOINT , "localhost" , MANAGEMENT , null , null ) ;