components/src/test/java/eu/internetofus/common/components/models/MessageTest.java
/**
   * Check that can not be valid with a bad app identifier.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see Task#validate(WeNetValidateContext)
   */
Check that can not be valid with a bad app identifier.
@param vertx       event bus to use.
@param testContext test context to use.


Check that can not be valid with a bad app identifier . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldNotBeValidWithABadAppId(final Vertx vertx, final VertxTestContext testContext) {
    this.createModelExample(1, vertx, testContext).onSuccess(model -> {
      model.appId = "undefined";
      assertIsNotValid(model, "appId", new WeNetValidateContext("codePrefix", vertx), testContext);
    });
  }
@ Test public void shouldNotBeValidWithABadAppId ( final Vertx vertx , final VertxTestContext testContext ) { this . createModelExample ( 1 , vertx , testContext ) . onSuccess ( model -> { model . appId = "undefined" ; assertIsNotValid ( model , "appId" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; } ) ; }
Check that can not be valid with a bad app identifier.
Check that can not be valid with a bad app identifier .