components/src/test/java/eu/internetofus/common/components/interaction_protocol_engine/WeNetInteractionProtocolEngineTestCase.java
/**
   * Should be empty undefined interaction.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should be empty undefined interaction.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should be empty undefined interaction . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldInteractionsPegeBeEmptyForUndefinedAppId(final Vertx vertx, final VertxTestContext testContext) {
    this.createComponentProxy(vertx).getInteractionsPage(UUID.randomUUID().toString(), null, null, null, null, null,
        null, null, null, null, null, null, null, null, null, 0, 100)
        .onComplete(testContext.succeeding(page -> testContext.verify(() -> {
          assertThat(page).isNotNull();
          assertThat(page.total).isEqualTo(0L);
          assertThat(page.interactions).isNullOrEmpty();
          testContext.completeNow();
        })));
  }
@ Test public void shouldInteractionsPegeBeEmptyForUndefinedAppId ( final Vertx vertx , final VertxTestContext testContext ) { this . createComponentProxy ( vertx ) . getInteractionsPage ( UUID . randomUUID ( ) . toString ( ) , null , null , null , null , null , null , null , null , null , null , null , null , null , null , 0 , 100 ) . onComplete ( testContext . succeeding ( page -> testContext . verify ( ( ) -> { assertThat ( page ) . isNotNull ( ) ; assertThat ( page . total ) . isEqualTo ( 0L ) ; assertThat ( page . interactions ) . isNullOrEmpty ( ) ; testContext . completeNow ( ) ; } ) ) ) ; }
Should be empty undefined interaction.
Should be empty undefined interaction .