@Test(expected = HaloConfigurationException.class)
public void thatABadExpressionThrowsException() {

    SearchQuery.builder()
            .beginSearch()
            .or()
            .lt("field1", new Date())
            .end();
}