@Test
public void existsByWithDefinition() {

    final FieldExpression fieldExpression = ef.existsBy(KNOWN_THING_DEFINITION);
    final ExistsFieldExpression expected = new SimpleFieldExpressionImpl(KNOWN_THING_DEFINITION);
    assertThat(fieldExpression).isEqualTo(expected);
}