components/src/test/java/eu/internetofus/common/components/models/ProfileDateTestCase.java
/**
   * Should not be valid with a bad day.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   */
Should not be valid with a bad day.
@param vertx       event bus to use.
@param testContext test context to use.
Should not be valid with a bad day . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldNotBeValidAnImposibleDate(final Vertx vertx, final VertxTestContext testContext) {
    final ProfileDate model = this.createEmptyModel();
    model.year = 2020;
    model.month = 2;
    model.day = 31;
    assertIsNotValid(model, new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotBeValidAnImposibleDate ( final Vertx vertx , final VertxTestContext testContext ) { final ProfileDate model = this . createEmptyModel ( ) ; model . year = 2020 ; model . month = 2 ; model . day = 31 ; assertIsNotValid ( model , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Should not be valid with a bad day.
Should not be valid with a bad day .