q.getSql());
Assert.assertArrayEquals(new Object[] {1L}, q.getParameterValues());
Select sel = builder.select();
sel.columns(builder.mock().getId(), builder.mock().getUserName());
Where w = sel.where();
w.and(builder.mock().getId(), 1L);
sel.orderBy(builder.mock().getUserName());
q = sel.buildQuery();
Assert.assertEquals(
"SELECT user.id,user.userName"