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

    SearchQuery.builder()
            .beginSearch()
            .and()
            .and()
            .end();
}