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