public void testRun() throws Exception {
Object thing = parser.parse(getClass().getResourceAsStream("test1.xml"));
assertNotNull(thing);
assertTrue(thing instanceof PropertyIsEqualTo);
PropertyIsEqualTo equal = (PropertyIsEqualTo) thing;
assertTrue(equal.getExpression1() instanceof PropertyName);
assertTrue(equal.getExpression2() instanceof Literal);
PropertyName name = (PropertyName) equal.getExpression1();
assertEquals("testString", name.getPropertyName());
Literal literal = (Literal) equal.getExpression2();
assertEquals("2", literal.toString());
}