vertx/src/test/java/eu/internetofus/common/vertx/RepositoryIT.java
/**
   * Should migrate empty collection.
   *
   * @param vertx       event bus to use.
   * @param testContext context for the test.
   */
Should migrate empty collection.
@param vertx       event bus to use.
@param testContext context for the test.
Should migrate empty collection . @param vertx event bus to use . @param testContext context for the test .
@Test
  public void shouldMigrateCollectionWhenItIsEmpty(final Vertx vertx, final VertxTestContext testContext) {
    final var repository = new Repository(vertx, pool, "schemaVersion");
    repository.migrateCollection(EMPTY_COLLECTION, DummyModel.class, "schemaVersion")
        .onComplete(testContext.succeeding(migrated -> testContext.completeNow()));
  }
@ Test public void shouldMigrateCollectionWhenItIsEmpty ( final Vertx vertx , final VertxTestContext testContext ) { final var repository = new Repository ( vertx , pool , "schemaVersion" ) ; repository . migrateCollection ( EMPTY_COLLECTION , DummyModel . class , "schemaVersion" ) . onComplete ( testContext . succeeding ( migrated -> testContext . completeNow ( ) ) ) ; }
Should migrate empty collection.
Should migrate empty collection .