@Test public void get() { BaseResource baseResource = new BaseResource(); Response response = baseResource.get(); assertThat(response.getStatus()).isEqualTo(Response.Status.OK.getStatusCode()); assertThat(response.getEntity()).isNull(); }
@GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) public Response get() { LOGGER.debug("GET /"); return Response.ok().build(); }
BaseResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) public Response get() { LOGGER.debug("GET /"); return Response.ok().build(); } }
BaseResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) public Response get() { LOGGER.debug("GET /"); return Response.ok().build(); }  }
BaseResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) public Response get() { LOGGER.debug("GET /"); return Response.ok().build(); }  @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) Response get(); }
BaseResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) public Response get() { LOGGER.debug("GET /"); return Response.ok().build(); }  @GET @Produces(MediaType.TEXT_PLAIN) @ApiResponses({@ApiResponse(code = 200, message = "successful operation")}) Response get();  }