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 testDescribeHandler ( ) throws Exception { } @ Test public void testShowModelAlias ( ) throws Exception { } @ Test public void testTransformationAS712 ( ) throws Exception { } @ Test public void testTransformationAS713 ( ) throws Exception { } private void testTransformation_1_0_0 ( ModelTestControllerVersion controllerVersion ) throws Exception { } @ Test public void testRejectExpressionsAS712 ( ) throws Exception { } @ Test public void testRejectExpressionsAS713 ( ) throws Exception { } private void testRejectExpressions_1_0_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 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 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 ) { } } }

Fix:
ManagementRemotingServices . installRemotingEndpoint ( target , MANAGEMENT_ENDPOINT , "loaclhost" , MANAGEMENT , null , null ) ;