vertx/src/test/java/eu/internetofus/common/vertx/ComponentClientTest.java
/**
   * Verify that can not patch a {@link JsonObject} over an undefined service.
   *
   * @param vertx       event bus to use.
   * @param client      to use.
   * @param testContext context that manage the test.
   */
Verify that can not patch a  JsonObject over an undefined service.
@param vertx       event bus to use.
@param client      to use.
@param testContext context that manage the test.
Verify that can not patch a JsonObject over an undefined service . @param vertx event bus to use . @param client to use . @param testContext context that manage the test .
@Test
  public void shouldNotPatchJsonObjectOverAnUndefinedService(final Vertx vertx, final WebClient client,
      final VertxTestContext testContext) {
    final var service = new ComponentClient(client, "http://undefined/");
    testContext.assertFailure(service.patch(new JsonObject(), "path")).onFailure(ignored -> testContext.completeNow());
  }
@ Test public void shouldNotPatchJsonObjectOverAnUndefinedService ( final Vertx vertx , final WebClient client , final VertxTestContext testContext ) { final var service = new ComponentClient ( client , "http://undefined/" ) ; testContext . assertFailure ( service . patch ( new JsonObject ( ) , "path" ) ) . onFailure ( ignored -> testContext . completeNow ( ) ) ; }
Verify that can not patch a {@link JsonObject} over an undefined service.
Verify that can not patch a { @link JsonObject } over an undefined service .