@Test
public void testSelectWhereNotWellFormated() throws SQLException {

    SqlBuilder builder = SqlBuilder.selectAllFrom(p).where().not();
    try {
        builder.buildQueryConditions();
        fail();
    } catch (IllegalArgumentException e) {
    }
    builder = SqlBuilder.selectAllFrom(p).where().append(SegmentConstants.TRUE, SegmentConstants.AND);
    try {
        builder.buildQueryConditions();
        fail();
    } catch (IllegalArgumentException e) {
    }
}