vertx/src/test/java/eu/internetofus/common/vertx/QueryBuilderTest.java
/**
   * Should create empty query with {@code null} iterable.
   *
   * @see QueryBuilder#withRegex(String, Iterable)
   */
Should create empty query with  null iterable.
Should create empty query with null iterable .
@Test
  public void shouldCreateEmptyQueryWithNullIterable() {
    final var builder = new QueryBuilder();
    assertThat(builder.withRegex("fieldName", (Iterable<String>) null)).isSameAs(builder);
    assertThat(builder.build()).isEqualTo(new JsonObject());
  }
@ Test public void shouldCreateEmptyQueryWithNullIterable ( ) { final var builder = new QueryBuilder ( ) ; assertThat ( builder . withRegex ( "fieldName" , ( Iterable < String > ) null ) ) . isSameAs ( builder ) ; assertThat ( builder . build ( ) ) . isEqualTo ( new JsonObject ( ) ) ; }
Should create empty query with {@code null} iterable.
Should create empty query with { @code null } iterable .