void () { // via "effective boolean value" assertTrue(XPathType.isAssignable(XPath2Type.BOOLEAN, XPath2Type.STRING)); assertTrue(XPathType.isAssignable(XPath2Type.BOOLEAN, XPath2Type.NUMERIC)); assertTrue(XPathType.isAssignable(XPath2Type.BOOLEAN, XPath2Type.INTEGER)); assertFalse(XPathType.isAssignable(XPath2Type.BOOLEAN_STRICT, XPath2Type.STRING)); }