components/src/test/java/eu/internetofus/common/components/models/SocialNetworkRelationshipTest.java
/**
   * Check that not merge undefined app identifier.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see RelevantLocation#merge(RelevantLocation, WeNetValidateContext)
   */
Check that not merge undefined app identifier.
@param vertx       event bus to use.
@param testContext test context to use.


Check that not merge undefined app identifier . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldFailMergeUndefinedAppId(final Vertx vertx, final VertxTestContext testContext) {
    this.createModelExample(1, vertx, testContext).onSuccess(target -> {
      final var source = new SocialNetworkRelationship();
      source.appId = "undefinedAppId";
      assertCannotMerge(target, source, "appId", new WeNetValidateContext("codePrefix", vertx), testContext);
    });
  }
@ Test public void shouldFailMergeUndefinedAppId ( final Vertx vertx , final VertxTestContext testContext ) { this . createModelExample ( 1 , vertx , testContext ) . onSuccess ( target -> { final var source = new SocialNetworkRelationship ( ) ; source . appId = "undefinedAppId" ; assertCannotMerge ( target , source , "appId" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; } ) ; }
Check that not merge undefined app identifier.
Check that not merge undefined app identifier .