components/src/test/java/eu/internetofus/common/components/social_context_builder/WeNetSocialContextBuilderTestCase.java
/**
   * Should social notification.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should social notification.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should social notification . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldPutSocialPreferencesSelectedAnswerForUserOnTask(final Vertx vertx,
      final VertxTestContext testContext) {
    final var userId = UUID.randomUUID().toString();
    final var taskId = UUID.randomUUID().toString();
    final var userAnswers = new UserAnswersTest().createModelExample(0);
    this.createComponentProxy(vertx).putSocialPreferencesSelectedAnswerForUserOnTask(userId, taskId, 0, userAnswers)
        .onComplete(testContext.succeeding(any -> testContext.completeNow()));
  }
@ Test public void shouldPutSocialPreferencesSelectedAnswerForUserOnTask ( final Vertx vertx , final VertxTestContext testContext ) { final var userId = UUID . randomUUID ( ) . toString ( ) ; final var taskId = UUID . randomUUID ( ) . toString ( ) ; final var userAnswers = new UserAnswersTest ( ) . createModelExample ( 0 ) ; this . createComponentProxy ( vertx ) . putSocialPreferencesSelectedAnswerForUserOnTask ( userId , taskId , 0 , userAnswers ) . onComplete ( testContext . succeeding ( any -> testContext . completeNow ( ) ) ) ; }
Should social notification.
Should social notification .