8889909192939495
} @Test public void testContinuation() throws Exception { Expression e = Expression.continuation(var("var")).build(); Assert.assertEquals("{&var}", e.toString()); }
9596979899100101102
} @Test public void testMultipleExpressions() throws Exception { Expression e = Expression.simple(var("foo", 1), var("bar"), var("thing", true)).build(); Assert.assertEquals("{foo:1,bar,thing*}", e.toString()); }
102103104105106107108109
} @Test public void testMultipleExpressionsAndLiteralValues() throws Exception { Expression e = Expression.simple(var("foo", 1), var("bar"), var("thing", true)).build(); Assert.assertEquals("{foo:1,bar,thing*}", e.toString()); }