### Question:
OrConditionProcessor extends ConditionsContainerProcessor { @Override public OrConfig getCondition() { return new OrConfig(configs); } OrConditionProcessor(Validator validator); @Override OrConfig getCondition(); @Override boolean isFilter(); @Override void exitTag(String qName); @Override void exitChildTag(String qName, TagProcessor handler); static final String TAG; }### Answer:
@Test public void testSimpleTypes() throws Exception { SAXTagHandlers.parse( "<or>" + " <received message=\"subspres:PlaceOccupied\" from=\"SERV:subspres:${_placeId}\" />" + " <received message=\"subspres:PlaceOccupied\" from=\"SERV:subspres:${_placeId}\" />" + "</or>", processor ); OrConfig config = (OrConfig) processor.getCondition(); assertEquals(2, config.getConfigs().size()); assertEquals(ReceivedMessageConfig.TYPE, config.getConfigs().get(0).getType()); assertEquals(ReceivedMessageConfig.TYPE, config.getConfigs().get(1).getType()); }