assertEquals("container_1_factory_id", container1Attrs.getString("factory-id"));
assertEquals("container_1_width", container1Attrs.getString("width"));
assertEquals("container_1_height", container1Attrs.getString("height"));
//
UIWindow application1 = (UIWindow)it.next();
assertTrue(application1.isAdapted(ProtectedResource.class));
ProtectedResource application1PR = application1.adapt(ProtectedResource.class);
assertEquals(Collections.singletonList("application_1_access_permissions"), application1PR.getAccessPermissions());
Described application1Described = application1.adapt(Described.class);
assertEquals("application_1_title", application1Described.getName());
assertEquals("application_1_description", application1Described.getDescription());
Attributes application1Attrs = application1.getAttributes();
assertEquals("application_1_theme", application1Attrs.getString("theme"));
assertEquals(true, (boolean)application1Attrs.getBoolean("showinfobar"));
assertEquals(true, (boolean)application1Attrs.getBoolean("showmode"));
assertEquals(true, (boolean)application1Attrs.getBoolean("showwindowstate"));
assertEquals("application_1_icon", application1Attrs.getString("icon"));
assertEquals("application_1_width", application1Attrs.getString("width"));
assertEquals("application_1_height", application1Attrs.getString("height"));
assertEquals("application_1_prop_value", application1Attrs.getString("prop_key"));
//
Customization<?> customization = application1.getCustomization();
assertNotNull(customization);
assertEquals("application/portlet", customization.getType().getMimeType());
assertEquals("web/BannerPortlet", customization.getContentId());
// assertEquals("banner", customization.getName());
}