### Question:
VersionResource { @GET @Produces(MediaType.TEXT_PLAIN) @ApiOperation(value = "Request current version of P2PRestApp") @ApiResponses({@ApiResponse(code = 200, message = "Current application version ", response = String.class)}) public String getVersion() { LOGGER.info("GET version"); return VERSION; }  @GET @Produces(MediaType.TEXT_PLAIN) @ApiOperation(value = "Request current version of P2PRestApp") @ApiResponses({@ApiResponse(code = 200, message = "Current application version ", response = String.class)}) String getVersion();  }### Answer:
@Test public void getVersion() { assertThat(instance.getVersion()).isEqualTo(new Version().getVersion()); }