components/src/test/java/eu/internetofus/common/components/service/AppTest.java
/**
   * Check that should fail get default community of an undefined application.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see App#getOrCreateDefaultCommunityFor(String, Vertx)
   */
Check that should fail get default community of an undefined application.
@param vertx       event bus to use.
@param testContext test context to use.


Check that should fail get default community of an undefined application . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldFailGetDefaultCommunityWithUndefinedApp(final Vertx vertx, final VertxTestContext testContext) {
    testContext.assertFailure(App.getOrCreateDefaultCommunityFor("undefined", vertx))
        .onFailure(error -> testContext.completeNow());
  }
@ Test public void shouldFailGetDefaultCommunityWithUndefinedApp ( final Vertx vertx , final VertxTestContext testContext ) { testContext . assertFailure ( App . getOrCreateDefaultCommunityFor ( "undefined" , vertx ) ) . onFailure ( error -> testContext . completeNow ( ) ) ; }
Check that should fail get default community of an undefined application.
Check that should fail get default community of an undefined application .