try {
Vector v = new Vector();
v.add(new StringConstant(s1));
v.add(new StringConstant(s2));
Expression e1 = new Concatenate(v,true);
v.clear();
v.add(propertySensor1);
v.add(propertySensor2);
Expression eps1 = new Concatenate(v,true);
s1 = s1.substring(1, s1.length()-1);
s2 = s2.substring(1, s2.length()-1);
assertTrue(e1.evaluate().equals(s1 + s2));
assertTrue(eps1.evaluate().equals(s1 + s2));
} catch (SPLException e) {
fail("Received evaluation exception " + e.getMessage());
} catch (Exception e) {
fail("Received expression exception " + e.getMessage());
}