components/src/test/java/eu/internetofus/common/components/profile_manager/WeNetProfileManagerTestCase.java
/**
   * Should add or update bad social network relationship.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should add or update bad social network relationship.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should add or update bad social network relationship . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldAddOrUpdateSocialNetworkRelationship(final Vertx vertx, final VertxTestContext testContext) {
    testContext.assertComplete(new SocialNetworkRelationshipTest().createModelExample(0, vertx, testContext))
        .onSuccess(relationship -> testContext
            .assertComplete(WeNetProfileManager.createProxy(vertx).addOrUpdateSocialNetworkRelationship(relationship))
            .onSuccess(any -> testContext.completeNow()));
  }
@ Test public void shouldAddOrUpdateSocialNetworkRelationship ( final Vertx vertx , final VertxTestContext testContext ) { testContext . assertComplete ( new SocialNetworkRelationshipTest ( ) . createModelExample ( 0 , vertx , testContext ) ) . onSuccess ( relationship -> testContext . assertComplete ( WeNetProfileManager . createProxy ( vertx ) . addOrUpdateSocialNetworkRelationship ( relationship ) ) . onSuccess ( any -> testContext . completeNow ( ) ) ) ; }
Should add or update bad social network relationship.
Should add or update bad social network relationship .