### Question:
BaseRequest implements Request { @Override public int getAPIVersion() { return 1; } BaseRequest(HttpHeaders headers, RequestBody body, UriInfo uriInfo, ResourceInstance resource); @Override Result process(); @Override ResourceInstance getResource(); @Override String getURI(); @Override int getAPIVersion(); @Override Predicate getQueryPredicate(); @Override Map<String, TemporalInfo> getFields(); @Override Renderer getRenderer(); @Override Map<String, List<String>> getHttpHeaders(); @Override PageRequest getPageRequest(); @Override RequestBody getBody(); @Override SortRequest getSortRequest(); @Override String getRemoteAddress(); static final int DEFAULT_PAGE_SIZE; static final String PAGE_SIZE_PROPERTY_KEY; static final String ASC_ORDER_PROPERTY_KEY; }### Answer:
@Test public void testGetApiVersion() { Request request = getTestRequest(null, null, null, null, null, null, null); assertEquals(1, request.getAPIVersion()); }