components/src/test/java/eu/internetofus/common/components/WeNetValidateContextTest.java
/**
   * Check that set {@code null} model.
   */
Check that set  null model.
Check that set null model .
@Test
  public void shouldNotSetNullModel() {
    final var cache = new WeNetValidateContext("codePrefix", null);
    cache.setModel("id", null);
    assertThat(cache.existModel("id", String.class)).isFalse();
  }
@ Test public void shouldNotSetNullModel ( ) { final var cache = new WeNetValidateContext ( "codePrefix" , null ) ; cache . setModel ( "id" , null ) ; assertThat ( cache . existModel ( "id" , String . class ) ) . isFalse ( ) ; }
Check that set {@code null} model.
Check that set { @code null } model .