//true
Vector v = new Vector();
v.add(propertySensor2);
v.add(propertySensor2);
Expression expression1 = new LogicalXor(v,true);
//false
v.clear();
v.add(propertySensor2);
v.add(propertySensor1);
Expression expression2 = new LogicalXor(v,true);
//false
v.clear();
v.add(propertySensor1);
v.add(propertySensor2);
Expression expression3 = new LogicalXor(v,true);
//false
v.clear();
v.add(propertySensor1);
v.add(propertySensor1);
Expression expression4 = new LogicalXor(v,true);
assertFalse(((Boolean) expression1.evaluate()).booleanValue());
assertTrue(
((Boolean) expression2.evaluate()).booleanValue());
assertTrue(
((Boolean) expression3.evaluate()).booleanValue());
assertFalse(
((Boolean) expression4.evaluate()).booleanValue());
} catch (SPLException e) {
logger.severe("Received evaluation exception " + e.getMessage());
fail("Received evaluation exception " + e.getMessage());
} catch (Exception e) {