ModelNode result = executeOperation(op, client);
for (Property extension : result.asPropertyList()) {
String extensionName = extension.getName();
ModelNode subsystems = extension.getValue().get("subsystem");
Assert.assertEquals(extensionName + " has no subsystems", ModelType.OBJECT, subsystems.getType());
for (Property subsystem : subsystems.asPropertyList()) {
String subsystemName = subsystem.getName();
ModelNode value = subsystem.getValue();
Assert.assertEquals(subsystemName + " has major version", ModelType.INT, value.get("management-major-version").getType());
Assert.assertEquals(subsystemName + " has minor version", ModelType.INT, value.get("management-minor-version").getType());
Assert.assertEquals(subsystemName + " has namespaces", ModelType.LIST, value.get("xml-namespaces").getType());