*/
private void testTransformer_1_1_0(ModelTestControllerVersion controllerVersion) throws Exception {
String subsystemXml = "transform_1_1_0.xml"; //This has no expressions not understood by 1.1.0
ModelVersion modelVersion = ModelVersion.create(1, 1, 0); //The old model version
//Use the non-runtime version of the extension which will happen on the HC
KernelServicesBuilder builder = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT)
.setSubsystemXmlResource(subsystemXml);
// Add legacy subsystems
builder.createLegacyKernelServicesBuilder(null, controllerVersion, modelVersion)
.addMavenResourceURL("org.jboss.as:jboss-as-ejb3:" + controllerVersion.getMavenGavVersion())
.addMavenResourceURL("org.jboss.as:jboss-as-threads:" + controllerVersion.getMavenGavVersion())
.addMavenResourceURL("org.jboss.as:jboss-as-clustering-registry:" + controllerVersion.getMavenGavVersion())
.skipReverseControllerCheck()
.addOperationValidationResolve("add", PathAddress.pathAddress(PathElement.pathElement(SUBSYSTEM, getMainSubsystemName())))
.addOperationValidationResolve("add", PathAddress.pathAddress(PathElement.pathElement(SUBSYSTEM, getMainSubsystemName()), PathElement.pathElement("strict-max-bean-instance-pool")));
// boot the models
KernelServices mainServices = builder.build();
KernelServices legacyServices = mainServices.getLegacyServices(modelVersion);
Assert.assertNotNull(mainServices);
Assert.assertNotNull(legacyServices);
// check that the transformed model is the same as the model built from transformed operations
checkSubsystemModelTransformation(mainServices, modelVersion, V_1_1_0_FIXER);