### Question:
BatchService extends EndpointService { public Batch getBatch(BigInteger batchId) throws IOException, TokenExpiredException { String requestUrl = RESOURCE + "/" + batchId.toString(); ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.GET, requestUrl, null); assertValidResponse(response, requestUrl); return fromJson(response.getResult(), Batch.class); } BatchService(ArgusHttpClient client); BigInteger createBatch(List<String> expressions, int ttl); void deleteBatch(BigInteger batchId); Batch getBatch(BigInteger batchId); Map<String, String> getBatches();  }### Answer:
@Test public void testGetBatch() throws IOException, TokenExpiredException { try(ArgusService argusService = new ArgusService(getMockedClient("/BatchServiceTest.json"))) { BatchService batchService = argusService.getBatchService(); Batch result = batchService.getBatch(BigInteger.ONE); Batch expected = _constructPersistedBatch(); assertEquals(expected, result); } }