components/src/test/java/eu/internetofus/common/components/personal_context_builder/WeNetPersonalContextBuilderTestCase.java
/**
   * Should not obtain user locations of an undefined user.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not obtain user locations of an undefined user.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not obtain user locations of an undefined user . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldObtainEmptyUsersLocationsBecuaseUsersNotDefined(final Vertx vertx,
      final VertxTestContext testContext) {
    final var users = new UsersTest().createModelExample(1);
    testContext.assertComplete(this.createComponentProxy(vertx).obtainUserlocations(users))
        .onSuccess(locations -> testContext.verify(() -> {
          assertThat(locations).isEqualTo(new UsersLocations());
          testContext.completeNow();
        }));
  }
@ Test public void shouldObtainEmptyUsersLocationsBecuaseUsersNotDefined ( final Vertx vertx , final VertxTestContext testContext ) { final var users = new UsersTest ( ) . createModelExample ( 1 ) ; testContext . assertComplete ( this . createComponentProxy ( vertx ) . obtainUserlocations ( users ) ) . onSuccess ( locations -> testContext . verify ( ( ) -> { assertThat ( locations ) . isEqualTo ( new UsersLocations ( ) ) ; testContext . completeNow ( ) ; } ) ) ; }
Should not obtain user locations of an undefined user.
Should not obtain user locations of an undefined user .