//SensorLookup lookup = new SensorLookupImpl(map);
try {
Vector v = new Vector();
v.add(new StringConstant(s1));
Expression es1 = new ToSINT8(v,true);
v.clear();
v.add(new StringConstant(s2));
Expression es2 = new ToSINT8(v,true);
v.clear();
v.add(new ByteConstant(sn1.byteValue()));
Expression esn1 = new ToSINT8(v,true);
v.clear();
v.add(new ByteConstant(sn2.byteValue()));
Expression esn2 = new ToSINT8(v,true);
v.clear();
v.add(propertySensor1);
Expression eps1 = new ToSINT8(v,true);
v.clear();
v.add(propertySensor2);
Expression eps2 = new ToSINT8(v,true);
v.clear();
v.add(propertySensor3);
Expression eps3 = new ToSINT8(v,true);
v.clear();
v.add(propertySensor4);
Expression eps4 = new ToSINT8(v,true);
assertTrue(((Byte) es1.evaluate()).equals(sn1));
assertTrue(((Byte) es2.evaluate()).equals(sn2));
assertFalse(((Byte) es1.evaluate()).equals(sn2));
assertTrue(((Byte) esn1.evaluate()).equals(sn1));
assertTrue(((Byte) esn2.evaluate()).equals(sn2));
assertFalse(((Byte) esn1.evaluate()).equals(sn2));
s1 = s1.substring(1, s1.length()-1);
assertTrue(((Byte) eps1.evaluate()).equals(new Byte(s1)));
s2 = s2.substring(1, s2.length()-1);
assertTrue(((Byte) eps2.evaluate()).equals(new Byte(s2)));
assertTrue(((Byte) eps3.evaluate()).equals(sn1));
assertTrue(((Byte) eps4.evaluate()).equals(sn2));
assertSame(sn1.getClass(), (es1.evaluate()).getClass());
} catch (SPLException e) {
fail("Received evaluation exception " + e.getMessage());
} catch (Exception e) {