ExmlModel model = exmlToModelParser.parse(getFile("/testPackage/TestComponentWithConfigModes.exml"));
Assert.assertEquals("testPackage.TestComponent", model.getSuperClassName());
JsonObject expectedJsonObject = new JsonObject(
"items", new JsonArray(
new JsonObject(
"propertyThree", "3"
).settingWrapperClass("testNamespace.config.testComponent2")
),
"items$at", "{net.jangaroo.ext.Exml.APPEND}",
"propertyFive", new JsonArray(new JsonObject("xtype", "agridcolumn")),
"propertyFive$at", "{net.jangaroo.ext.Exml.PREPEND}",
"layoutConfig", new JsonObject(
"mode", "foo"
)
);