### Question:
HelloWorldResource { @GET @Path("{name}") @Operation(description = "Say hello to someone") @APIResponse(responseCode = "200", description = "Ok") public Response sayHello(@Parameter(description = "name") @PathParam("name") final String name) { LOG.info("Say 'Hello' to {}", name); String hello = String.format("Hello %s!", name); LOG.info(hello); return Response.status(Response.Status.OK) .entity(hello) .build(); }  @GET @Path("{name}") @Operation(description = "Say hello to someone") @APIResponse(responseCode = "200", description = "Ok") Response sayHello(@Parameter(description = "name") @PathParam("name") final String name); @GET @Operation(description = "Say hello world") @APIResponse(responseCode = "200", description = "Ok") Response sayHelloWorld();  }### Answer:
@Test public void sayHello() { Response response = resource.sayHello("Stephan"); assertThat(response.getStatus()).isEqualTo(Response.Status.OK.getStatusCode()); assertThat(response.getEntity()).isEqualTo("Hello Stephan!"); }