components/src/test/java/eu/internetofus/common/components/interaction_protocol_engine/ProtocolAddressTest.java
/**
   * Check that the model is valid without userId.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see ProtocolMessage#validate(WeNetValidateContext)
   */
Check that the model is valid without userId.
@param vertx       event bus to use.
@param testContext context to test.


Check that the model is valid without userId . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldBeValidWithoutUserId(final Vertx vertx, final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.userId = null;
    assertIsValid(model, new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldBeValidWithoutUserId ( final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . userId = null ; assertIsValid ( model , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that the model is valid without userId.
Check that the model is valid without userId .