components/src/test/java/eu/internetofus/common/components/models/WeNetUserProfileTest.java
/**
   * Check that not accept profiles with bad email address.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see WeNetUserProfile#validate(WeNetValidateContext)
   */
Check that not accept profiles with bad email address.
@param vertx       event bus to use.
@param testContext context to test.


Check that not accept profiles with bad email address . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldNotBeValidWithABadEmail(final Vertx vertx, final VertxTestContext testContext) {
    final var model = new WeNetUserProfile();
    model.email = " bad email @ adrress ";
    assertIsNotValid(model, "email", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotBeValidWithABadEmail ( final Vertx vertx , final VertxTestContext testContext ) { final var model = new WeNetUserProfile ( ) ; model . email = " bad email @ adrress " ; assertIsNotValid ( model , "email" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that not accept profiles with bad email address.
Check that not accept profiles with bad email address .