vertx/src/test/java/eu/internetofus/common/vertx/ModelResourcesTest.java
/**
   * Check not found element if the list is empty.
   */
Check not found element if the list is empty.
Check not found element if the list is empty .
@Test
  public void shoulNotFoundElementWithIdForEmptyList() {
    final var models = new ArrayList<>();
    assertThat(ModelResources.searchElementById((dummy, id) -> true).apply(models, "1")).isEqualTo(-1);
  }
@ Test public void shoulNotFoundElementWithIdForEmptyList ( ) { final var models = new ArrayList < > ( ) ; assertThat ( ModelResources . searchElementById ( ( dummy , id ) -> true ) . apply ( models , "1" ) ) . isEqualTo ( - 1 ) ; }
Check not found element if the list is empty.
Check not found element if the list is empty .