minor update in test xpath

This commit is contained in:
Mark Fisher
2010-06-08 18:27:18 +00:00
parent 0afa84bdcb
commit f30b44f63d

View File

@@ -65,7 +65,7 @@ public class XPathTransformerTests {
@Test
public void booleanResult() throws Exception {
XPathTransformer transformer = new XPathTransformer("/parent/child/@married");
XPathTransformer transformer = new XPathTransformer("/parent/child/@married = 'true'");
transformer.setEvaluationType(XPathEvaluationType.BOOLEAN_RESULT);
Object result = transformer.doTransform(message);
assertEquals(Boolean.TRUE, result);