components/src/test/java/eu/internetofus/common/components/models/AliveBirthDateTest.java
/**
   * Should not merge to born before the oldest person on the world.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see AliveBirthDate#merge(ProfileDate, WeNetValidateContext)
   */
Should not merge to born before the oldest person on the world.
@param vertx       event bus to use.
@param testContext test context to use.


Should not merge to born before the oldest person on the world . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldNotMergeToBornBeforeTheOldestPersonOnTheWorld(final Vertx vertx,
      final VertxTestContext testContext) {
    final var target = this.createEmptyModel();
    final var source = this.createEmptyModel();
    source.year = 1903;
    source.month = 1;
    source.day = 1;
    assertCannotMerge(target, source, new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotMergeToBornBeforeTheOldestPersonOnTheWorld ( final Vertx vertx , final VertxTestContext testContext ) { final var target = this . createEmptyModel ( ) ; final var source = this . createEmptyModel ( ) ; source . year = 1903 ; source . month = 1 ; source . day = 1 ; assertCannotMerge ( target , source , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Should not merge to born before the oldest person on the world.
Should not merge to born before the oldest person on the world .