components/src/test/java/eu/internetofus/common/components/models/CommunityMemberTest.java
/**
   * Check that a {@code null} user identifier is not valid.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see CommunityMember#validate(WeNetValidateContext)
   */
Check that a  null user identifier is not valid.
@param vertx       event bus to use.
@param testContext context to test.


Check that a null user identifier is not valid . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldNotBeValidWithANullUserId(final Vertx vertx, final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.userId = null;
    assertIsNotValid(model, "userId", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotBeValidWithANullUserId ( final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . userId = null ; assertIsNotValid ( model , "userId" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that a {@code null} user identifier is not valid.
Check that a { @code null } user identifier is not valid .