assertFalse("Failed: " + notLike, notLike.match(match1));
Artist match2 = new Artist();
match2.setArtistName("ABcD");
assertTrue("Failed: " + like, like.match(match2));
assertFalse("Failed: " + notLike, notLike.match(match2));
}
public void testEvaluateADD() throws Exception {
Expression add = new ASTAdd(new Object[] { new Integer(1), new Double(5.5) });
assertEquals(6.5, ((Number) add.evaluate(null)).doubleValue(), 0.0001);