### Question:
BooleanItem extends FormItem { public Boolean getValueAsBoolean() { return (Boolean) getValue(); } BooleanItem();  BooleanItem(String name);  BooleanItem(String name, String title); Boolean getValueAsBoolean();  }### Answer:
@Test public void test_getValueAsBoolean() { booleanItem.setValue(Boolean.TRUE); assertEquals(Boolean.TRUE, booleanItem.getValueAsBoolean()); }