components/src/test/java/eu/internetofus/common/components/profile_manager/WeNetProfileManagerTestCase.java
/**
   * Should not add or update bad social network relationship.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not add or update bad social network relationship.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not 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 shouldFailAddOrUpdateSocialNetworkRelationship(final Vertx vertx, final VertxTestContext testContext) {
    final var relationship = new SocialNetworkRelationshipTest().createModelExample(0);
    testContext.assertFailure(WeNetProfileManager.createProxy(vertx).addOrUpdateSocialNetworkRelationship(relationship))
        .onFailure(any -> testContext.completeNow());
  }
@ Test public void shouldFailAddOrUpdateSocialNetworkRelationship ( final Vertx vertx , final VertxTestContext testContext ) { final var relationship = new SocialNetworkRelationshipTest ( ) . createModelExample ( 0 ) ; testContext . assertFailure ( WeNetProfileManager . createProxy ( vertx ) . addOrUpdateSocialNetworkRelationship ( relationship ) ) . onFailure ( any -> testContext . completeNow ( ) ) ; }
Should not add or update bad social network relationship.
Should not add or update bad social network relationship .