components/src/test/java/eu/internetofus/common/components/profile_diversity_manager/WeNetProfileDiversityManagerTestCase.java
/**
   * Should not calculate the similarity with a bad attributes data.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not calculate the similarity with a bad attributes data.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not calculate the similarity with a bad attributes data . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldNotCalculateSimilarityWithBadAttributesData(final Vertx vertx, final VertxTestContext testContext) {
    this.createComponentProxy(vertx).calculateSimilarityOf(new JsonObject().put("undefinedField", "value"),
        testContext.failing(error -> testContext.completeNow()));
  }
@ Test public void shouldNotCalculateSimilarityWithBadAttributesData ( final Vertx vertx , final VertxTestContext testContext ) { this . createComponentProxy ( vertx ) . calculateSimilarityOf ( new JsonObject ( ) . put ( "undefinedField" , "value" ) , testContext . failing ( error -> testContext . completeNow ( ) ) ) ; }
Should not calculate the similarity with a bad attributes data.
Should not calculate the similarity with a bad attributes data .