components/src/test/java/eu/internetofus/common/components/profile_manager/WeNetProfileManagerTestCase.java
/**
   * Should defined profile .
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should defined profile .
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should defined profile . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldDefinedProfile(final Vertx vertx, final VertxTestContext testContext) {
    StoreServices.storeProfileExample(0, vertx, testContext).onSuccess(profile -> {
      testContext.assertComplete(this.createComponentProxy(vertx).isProfileDefined(profile.id)).onSuccess(defined -> {
        testContext.verify(() -> {
          assertThat(defined).isTrue();
        });
        testContext.completeNow();
      });
    });
  }
@ Test public void shouldDefinedProfile ( final Vertx vertx , final VertxTestContext testContext ) { StoreServices . storeProfileExample ( 0 , vertx , testContext ) . onSuccess ( profile -> { testContext . assertComplete ( this . createComponentProxy ( vertx ) . isProfileDefined ( profile . id ) ) . onSuccess ( defined -> { testContext . verify ( ( ) -> { assertThat ( defined ) . isTrue ( ) ; } ) ; testContext . completeNow ( ) ; } ) ; } ) ; }
Should defined profile .
Should defined profile .