AbstractFormItem implements FormItem, FormItemLocalExecutableTagContainer { @Override public boolean evaluateCondition() throws SemanticError { final String condAttribute = node.getAttribute("cond"); if (condAttribute == null) { return true; } final String unescapedCond = StringEscapeUtils .unescapeXml(condAttribute); final DataModel model = context.getDataModel(); return model.evaluateExpression(unescapedCond, Boolean.class); } AbstractFormItem();   AbstractFormItem(final VoiceXmlInterpreterContext ctx,
            final VoiceXmlNode voiceNode); abstract AbstractFormItem newInstance(
            final VoiceXmlInterpreterContext ctx, final VoiceXmlNode voiceNode); @Override final Object getFormItemVariable(); @Override int setFormItemVariable(final Object value); @Override final String getName(); @Override final Object evaluateExpression(final DataModel model); @Override boolean evaluateCondition(); @Override boolean isSelectable(); @Override final VoiceXmlNode getNode(); @Override final String getNodeTagName(); Collection<AbstractCatchElement> getCatchElements(); Collection<VoiceXmlNode> getLocalExecutableTags();  }
@Test public void testGetConditionNoCondition() throws JVoiceXMLEvent { Assert.assertTrue(item.evaluateCondition()); }