vertx/src/test/java/eu/internetofus/common/vertx/RepositoryTest.java
/**
   * Verify that the sort object is null when an empty or {@code null} value is
   * converted.
   *
   * @param values to convert.
   *
   * @see Repository#queryParamToSort(Iterable, String,Function)
   */
Verify that the sort object is null when an empty or  null value is
converted.

@param values to convert.


Verify that the sort object is null when an empty or null value is converted . @param values to convert .
@ParameterizedTest(name = "Should {0} be return null")
  @NullAndEmptySource
  public void shouldSortReturnNull(final List<String> values) {
    assertThatCode(() -> {
      assertThat(Repository.queryParamToSort(values, "codePrefix", null)).isNull();
    }).doesNotThrowAnyException();
  }
@ ParameterizedTest ( name = "Should {0} be return null" ) @ NullAndEmptySource public void shouldSortReturnNull ( final List < String > values ) { assertThatCode ( ( ) -> { assertThat ( Repository . queryParamToSort ( values , "codePrefix" , null ) ) . isNull ( ) ; } ) . doesNotThrowAnyException ( ) ; }
Verify that the sort object is null when an empty or {@code null} value is
 converted.
Verify that the sort object is null when an empty or { @code null } value is converted .