components/src/test/java/eu/internetofus/common/components/models/CommunityProfileTest.java
/**
   * Should not merge with a bad application identifier.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see CommunityProfile#merge(CommunityProfile, WeNetValidateContext)
   */
Should not merge with a bad application identifier.
@param vertx       event bus to use.
@param testContext context to test.


Should not merge with a bad application identifier . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldNotMergeWithBadAppId(final Vertx vertx, final VertxTestContext testContext) {
    this.createModelExample(1, vertx, testContext).onSuccess(target -> {
      final var source = new CommunityProfile();
      source.appId = "Undefined application id";
      assertCannotMerge(target, source, "appId", new WeNetValidateContext("codePrefix", vertx), testContext);
    });
  }
@ Test public void shouldNotMergeWithBadAppId ( final Vertx vertx , final VertxTestContext testContext ) { this . createModelExample ( 1 , vertx , testContext ) . onSuccess ( target -> { final var source = new CommunityProfile ( ) ; source . appId = "Undefined application id" ; assertCannotMerge ( target , source , "appId" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; } ) ; }
Should not merge with a bad application identifier.
Should not merge with a bad application identifier .