### Question:
GetVersion implements Handler { @OpenApi( path = ROUTE, method = HttpMethod.GET, summary = "Get node version", description = "similar to [HTTP User-Agent](https: tags = {TAG_V1_NODE}, responses = { @OpenApiResponse(status = RES_OK, content = @OpenApiContent(from = VersionResponse.class)) }) @Override public void handle(@NotNull final Context ctx) throws Exception { Version v = new Version(VersionProvider.VERSION); VersionResponse response = new VersionResponse(v); ctx.header(Header.CACHE_CONTROL, CACHE_NONE); ctx.result(jsonProvider.objectToJSON(response)); } GetVersion(JsonProvider jsonProvider); @OpenApi( path = ROUTE, method = HttpMethod.GET, summary = "Get node version", description = "similar to [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3).", tags = {TAG_V1_NODE}, responses = { @OpenApiResponse(status = RES_OK, content = @OpenApiContent(from = VersionResponse.class)) }) @Override void handle(@NotNull final Context ctx); static final String ROUTE; }### Answer:
@Test public void shouldReturnVersionString() throws Exception { GetVersion handler = new GetVersion(jsonProvider); handler.handle(context); verifyCacheStatus(CACHE_NONE); VersionResponse response = getResponseObject(VersionResponse.class); assertThat(response).isEqualTo(versionResponse); }