@Override public SingleServedStubResult getServedStub(UUID id) { return executeRequest( adminRoutes.requestSpecForTask(GetServedStubTask.class), PathParams.single("id", id), SingleServedStubResult.class); }
@Override @SuppressWarnings("unchecked") public SingleStubMappingResult getStubMapping(UUID id) { return executeRequest( adminRoutes.requestSpecForTask(GetStubMappingTask.class), PathParams.single("id", id), SingleStubMappingResult.class); }