public static KernelServices create(List<ModelNode> bootOperations, boolean validateOperations, ModelVersion legacyModelVersion,
List<LegacyModelInitializerEntry> modelInitializerEntries) throws Exception {
TestModelType type = TestModelType.DOMAIN;
XMLMapper xmlMapper = XMLMapper.Factory.create();
TestParser testParser = TestParser.create(null, xmlMapper, type);
ModelInitializer modelInitializer = null;
if (modelInitializerEntries != null && modelInitializerEntries.size() > 0) {
modelInitializer = new LegacyModelInitializer(modelInitializerEntries);
}