vertx/src/test/java/eu/internetofus/common/vertx/QueryBuilderTest.java
/**
   * Should create query with element equals or with regexp with {@code null}
   * values.
   *
   * @see QueryBuilder#withEqOrRegex(String, Iterable)
   */
Should create query with element equals or with regexp with  null
values.


Should create query with element equals or with regexp with null values .
@Test
  public void shouldCreateQueryWithElementEqOrRegexWithNullValues() {
    final var builder = new QueryBuilder();
    assertThat(builder.withElementEqOrRegex("fieldName", "subFieldName", null)).isSameAs(builder);
    assertThat(builder.build()).isEqualTo(new JsonObject());
  }
@ Test public void shouldCreateQueryWithElementEqOrRegexWithNullValues ( ) { final var builder = new QueryBuilder ( ) ; assertThat ( builder . withElementEqOrRegex ( "fieldName" , "subFieldName" , null ) ) . isSameAs ( builder ) ; assertThat ( builder . build ( ) ) . isEqualTo ( new JsonObject ( ) ) ; }
Should create query with element equals or with regexp with {@code null}
 values.
Should create query with element equals or with regexp with { @code null } values .