model/src/test/java/eu/internetofus/common/model/DummyTsModelTest.java
/**
   * Should not merge with a duplicated dummy.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see DummyTsModel#merge(DummyTsModel, DummyValidateContext)
   */
Should not merge with a duplicated dummy.
@param vertx       event bus to use.
@param testContext context to test.


Should not merge with a duplicated dummy . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldNotMergeWithDuplicatedDummy(final Vertx vertx, final VertxTestContext testContext) {
    final var target = this.createModelExample(1);
    final var source = this.createModelExample(2);
    source.dummies.add(source.dummies.get(0));
    final var context = new DummyValidateContext("codePrefix");
    assertCannotMerge(target, source, "dummies[1]", context, testContext);
  }
@ Test public void shouldNotMergeWithDuplicatedDummy ( final Vertx vertx , final VertxTestContext testContext ) { final var target = this . createModelExample ( 1 ) ; final var source = this . createModelExample ( 2 ) ; source . dummies . add ( source . dummies . get ( 0 ) ) ; final var context = new DummyValidateContext ( "codePrefix" ) ; assertCannotMerge ( target , source , "dummies[1]" , context , testContext ) ; }
Should not merge with a duplicated dummy.
Should not merge with a duplicated dummy .