assertThat(item.getLabel(), is("b"));
}
@Test
public void shouldBuildFromUISelectItemsWithAttributes() throws Exception {
UISelectItems selectItems = setupUISelectItems("a");
selectItems.getAttributes().put("itemLabel", "l");
selectItems.getAttributes().put("itemDescription", "d");
selectItems.getAttributes().put("itemLabelEscaped", "true");
selectItems.getAttributes().put("itemDisabled", "true");
selectItems.getAttributes().put("noSelectionOption", "true");
SelectItem item = getSingleSelectItems();
assertThat(item.getValue(), is((Object) "a"));
assertThat(item.getLabel(), is("l"));
assertThat(item.getDescription(), is("d"));
assertThat(item.isEscape(), is(true));