Assert.assertEquals("tobago-in-sub", Classes.create(in, "sub").getStringValue());
}
@Test
public void testMixed() {
final UIIn in = (UIIn) CreateComponentUtils.createComponent(
getFacesContext(), ComponentTypes.IN, RendererTypes.IN, "in");
in.setDisabled(true);
in.setReadonly(true);
in.setValid(false);
in.setMarkup(Markup.valueOf("important,deleted"));
updateCurrentMarkup(in);
Assert.assertEquals("tobago-in-sub tobago-in-sub-markup-important tobago-in-sub-markup-deleted "
+ "tobago-in-sub-markup-disabled tobago-in-sub-markup-readonly tobago-in-sub-markup-error",
Classes.create(in, "sub").getStringValue());
}