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