model/src/test/java/eu/internetofus/common/model/ModelTest.java
/**
   * Check that can not obtain list from a bad array.
   */
Check that can not obtain list from a bad array.
Check that can not obtain list from a bad array .
@Test
  public void shoulBadValueOnArrayNotConvertedToList() {
    assertThat(Model.fromJsonArray(new JsonArray().add(1), DummyModel.class)).isNull();
  }
@ Test public void shoulBadValueOnArrayNotConvertedToList ( ) { assertThat ( Model . fromJsonArray ( new JsonArray ( ) . add ( 1 ) , DummyModel . class ) ) . isNull ( ) ; }
Check that can not obtain list from a bad array.
Check that can not obtain list from a bad array .