vertx/src/test/java/eu/internetofus/common/vertx/QueryBuilderTest.java
/**
   * Should create query with no exist.
   *
   * @see QueryBuilder#withExist(String, Boolean)
   */
Should create query with no exist.
Should create query with no exist .
@Test
  public void shouldCreateQueryWithNoExist() {
    final var builder = new QueryBuilder();
    assertThat(builder.withExist("fieldName", false)).isSameAs(builder);
    assertThat(builder.build()).isEqualTo(new JsonObject().putNull("fieldName"));
  }
@ Test public void shouldCreateQueryWithNoExist ( ) { final var builder = new QueryBuilder ( ) ; assertThat ( builder . withExist ( "fieldName" , false ) ) . isSameAs ( builder ) ; assertThat ( builder . build ( ) ) . isEqualTo ( new JsonObject ( ) . putNull ( "fieldName" ) ) ; }
Should create query with no exist.
Should create query with no exist .