components/src/test/java/eu/internetofus/common/components/interaction_protocol_engine/WeNetInteractionProtocolEngineTestCase.java
/**
   * Should fail send invalid incentive.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should fail send invalid incentive.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should fail send invalid incentive . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldFailSendIncentive(final Vertx vertx, final VertxTestContext testContext) {
    final var incentive = new IncentiveTest().createModelExample(1);
    this.createComponentProxy(vertx).sendIncentive(incentive)
        .onComplete(testContext.failing(any -> testContext.completeNow()));
  }
@ Test public void shouldFailSendIncentive ( final Vertx vertx , final VertxTestContext testContext ) { final var incentive = new IncentiveTest ( ) . createModelExample ( 1 ) ; this . createComponentProxy ( vertx ) . sendIncentive ( incentive ) . onComplete ( testContext . failing ( any -> testContext . completeNow ( ) ) ) ; }
Should fail send invalid incentive.
Should fail send invalid incentive .