builder.and(user.getId(), 1L);
builder.orderBy(user.getUserName());
IQuery statment = builder.build();
Assert.assertEquals(
"SELECT user.id,user.userName"
+ " FROM user_mx_14.user"
+ " WHERE user.id = ?"
+ " ORDER BY user.userName",
statment.getSql());
Assert.assertArrayEquals(new Object[] {1L}, statment.getParameterValues());
}