  @Test
  public void testHostNoExposedPorts(TestContext context) {

    Vertx vertx = Vertx.vertx();

    LaunchDescriptor ld = new LaunchDescriptor();
    ld.setDockerImage("folioci/mod-users:5.0.0-SNAPSHOT");
    ld.setDockerPull(false);
    Ports ports = new Ports(9232, 9233);
    JsonObject conf = new JsonObject().put("dockerUrl", "tcp://localhost:9231");

    DockerModuleHandle dh = new DockerModuleHandle(vertx, ld,
        "mod-users-5.0.0-SNAPSHOT", ports, "localhost",
        0 /* no exposed port */, conf);
    dh.start().onComplete(context.asyncAssertFailure(cause ->
        context.assertEquals("No exposedPorts in image", cause.getMessage())));
  }