components/src/test/java/eu/internetofus/common/components/profile_manager/WeNetProfileManagerTestCase.java
/**
   * Should not calculate similarity of bad data.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not calculate similarity of bad data.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not calculate similarity of bad data . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldFailSimilarityWithBadData(final Vertx vertx, final VertxTestContext testContext) {
    final var data = new SimilarityDataTest().createModelExample(0);
    WeNetProfileManager.createProxy(vertx).operationSimilarity(data)
        .onComplete(testContext.failing(any -> testContext.completeNow()));
  }
@ Test public void shouldFailSimilarityWithBadData ( final Vertx vertx , final VertxTestContext testContext ) { final var data = new SimilarityDataTest ( ) . createModelExample ( 0 ) ; WeNetProfileManager . createProxy ( vertx ) . operationSimilarity ( data ) . onComplete ( testContext . failing ( any -> testContext . completeNow ( ) ) ) ; }
Should not calculate similarity of bad data.
Should not calculate similarity of bad data .