@Test
public void testConduit()throws Exception {
BeanDefinitionBuilder bd = BeanDefinitionBuilder.childBeanDefinition("child");
HttpConduitBeanDefinitionParser parser = new HttpConduitBeanDefinitionParser();
Document d = DOMUtils.readXml(getClass().getResourceAsStream("conduit.xml"));
parser.doParse(d.getDocumentElement(), null, bd);
PropertyValue[] pvs = bd.getRawBeanDefinition().getPropertyValues().getPropertyValues();
assertEquals(1, pvs.length);
assertEquals(97, ((HTTPClientPolicy) pvs[0].getValue()).getConnectionTimeout(), 0);
}