### Question:
HelloWorldResource { @GET @Operation(description = "Say hello world") @APIResponse(responseCode = "200", description = "Ok") public Response sayHelloWorld() { return sayHello("World"); }  @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 sayHelloWorld() { Response response = resource.sayHelloWorld(); assertThat(response.getStatus()).isEqualTo(Response.Status.OK.getStatusCode()); assertThat(response.getEntity()).isEqualTo("Hello World!"); }