model/src/test/java/eu/internetofus/common/model/ModelTest.java
/**
   * Check that not convert a bad model.
   */
Check that not convert a bad model.
Check that not convert a bad model .
@Test
  public void shoulBadModelOnBufferNotConvertedToList() {
    assertThat(Model.fromJsonArray(Buffer.buffer("[{\"undefined\":\"value\"}]"), DummyModel.class)).isNull();
  }
@ Test public void shoulBadModelOnBufferNotConvertedToList ( ) { assertThat ( Model . fromJsonArray ( Buffer . buffer ( "[{\"undefined\":\"value\"}]" ) , DummyModel . class ) ) . isNull ( ) ; }
Check that not convert a bad model.
Check that not convert a bad model .