DataFileServiceV1 implements DataFileService { @Override public String ping() { return "PONG " + getClass().getSimpleName(); }  @Override String ping(); @Override StreamingOutput getDataFileData(Integer id); @Override StreamingOutput getDataFileDataOffset(Integer id, int offset, int numLines); @Override StreamingOutput getDataFileVersion(Integer id, Integer version, final int offset, final int numLines); @Override Response saveOrUpdateDataFile(FormDataMultiPart formData); @Override Response deleteDataFile(Integer id); @Override Response getDataFiles(); @Override Response getDataFile(Integer id); @Override Response setDataFile(Integer id, FormDataMultiPart formData); @Override Response downloadDataFileData(Integer id);  }
@Test @Tag(TestGroups.MANUAL) public void testPing() { WebTarget webTarget = client.target(SERVICE_BASE_URL + "/ping"); webTarget.property(ClientProperties.FOLLOW_REDIRECTS, Boolean.TRUE); String response = webTarget.request(MediaType.TEXT_PLAIN_TYPE).get(String.class); assertEquals("PONG", response); }