}
@Test
public void shouldNotAllowNonBooleanValuesForExistsOperator() {
// given
MappedClass mappedClass = new MappedClass(SimpleEntity.class, new Mapper());
MappedField mappedField = mappedClass.getMappedField("name");
assertThat(QueryValidator.isCompatibleForOperator(mappedField, SimpleEntity.class, EXISTS, "value",
new ArrayList<ValidationFailure>()), is(false));
}