### Question:
AbstractJaxRsResourceProvider extends AbstractJaxRsProvider implements IRestfulServer<JaxRsRequest>, IResourceProvider { @GET @Path("/{id}/_history/{version}") public Response findVersion(@PathParam("id") final String id, @PathParam("version") final String version) throws IOException { final Builder theRequest = getResourceRequest(RequestTypeEnum.GET, RestOperationTypeEnum.VREAD).id(id).version(version); return execute(theRequest); } protected  AbstractJaxRsResourceProvider(); protected  AbstractJaxRsResourceProvider(final FhirContext ctx); protected  AbstractJaxRsResourceProvider(final Class<? extends AbstractJaxRsProvider> theProviderClass); protected  AbstractJaxRsResourceProvider(final FhirContext ctx, final Class<? extends AbstractJaxRsProvider> theProviderClass); @Override String getBaseForRequest(); @POST Response create(final String resource); @POST @Path("/_search") Response searchWithPost(); @GET Response search(); @PUT Response conditionalUpdate(final String resource); @PUT @Path("/{id}") Response update(@PathParam("id") final String id, final String resource); @DELETE Response delete(); @DELETE @Path("/{id}") Response delete(@PathParam("id") final String id); @GET @Path("/{id : ((?!_history).)*}") Response find(@PathParam("id") final String id); @GET @Path("/{id}/_history/{version}") Response findVersion(@PathParam("id") final String id, @PathParam("version") final String version); @GET @Path("/{id}/_history") Response historyForInstance(@PathParam("id") final String id); @GET @Path("/_history") Response historyForType(); @GET @Path("/{id}/{compartment : ((?!_history).)*}") Response findCompartment(@PathParam("id") final String id, @PathParam("compartment") final String compartment); @POST @Path("/$validate") Response validate(final String resource); @Override IPagingProvider getPagingProvider(); @Override BundleInclusionRule getBundleInclusionRule(); @Override PreferReturnEnum getDefaultPreferReturn(); @Override abstract Class<R> getResourceType(); JaxRsMethodBindings getBindings();  }### Answer:
@Test public void testVRead() { when(mock.findVersion(idCaptor.capture())).thenReturn(createPatient(1)); final Patient patient = client.vread(Patient.class, "1", "2"); compareResultId(1, patient); compareResultUrl("/Patient/1", patient); assertEquals("1", idCaptor.getValue().getIdPart()); assertEquals("2", idCaptor.getValue().getVersionIdPart()); }