vertx/src/test/java/eu/internetofus/common/vertx/ModelResourcesTest.java
/**
   * Create new model context.
   *
   * @return the create context.
   */
Create new model context.
@return the create context.
Create new model context . @return the create context .
protected ModelContext<DummyTsModel, String, DummyValidateContext> createModelContextForDummyTsModel() {
    final var model = new ModelContext<DummyTsModel, String, DummyValidateContext>();
    model.id = "1";
    model.name = "dummy_ts";
    model.type = DummyTsModel.class;
    model.validateContext = new DummyValidateContext("bad_dummt_ts");
    return model;
  }
protected ModelContext < DummyTsModel , String , DummyValidateContext > createModelContextForDummyTsModel ( ) { final var model = new ModelContext < DummyTsModel , String , DummyValidateContext > ( ) ; model . id = "1" ; model . name = "dummy_ts" ; model . type = DummyTsModel . class ; model . validateContext = new DummyValidateContext ( "bad_dummt_ts" ) ; return model ; }
Create new model context.
Create new model context .