### Question:
OaiPmhRequestFactory { private static ListIdentifiersRequest createListIdentifiersRequest(String baseUrl, Map<OaiParameterName, String> parameters) { if (parameters.containsKey(OaiParameterName.RESUMPTION_TOKEN)) { return createListIdentifiersRequest(baseUrl, parameters.get(OaiParameterName.RESUMPTION_TOKEN)); } if (parameters.containsKey(OaiParameterName.METADATA_PREFIX)) { return createListIdentifiersRequest(baseUrl, parameters.get(OaiParameterName.METADATA_PREFIX), parameters.get(OaiParameterName.SET), parameters.get(OaiParameterName.FROM), parameters.get(OaiParameterName.UNTIL)); } return new ListIdentifiersRequest(parameters.get(OaiParameterName.VERB), baseUrl); } private  OaiPmhRequestFactory(); static void validateVerb(String verb); static void validateParameterNames(String request); static OAIRequest createRequest(String baseUrl, String request, boolean ignoreErrors); static ListSetsRequest createListSetsRequest(String baseUrl, String resumptionToken); static ListSetsRequest createListSetsRequest(String baseUrl, String from, String until); static ListIdentifiersRequest createListIdentifiersRequest(String baseUrl, String metadataPrefix, String set, String from, String until); static ListIdentifiersRequest createListIdentifiersRequest(String baseUrl, String resumptionToken); static IdentifyRequest createIdentifyRequest(String baseUrl); static GetRecordRequest createGetRecordRequest(String baseUrl, String metadataPrefix, String identifier); static ListMetadataFormatsRequest createListMetadataFormatsRequest(String baseUrl, String identifier); static ListRecordsRequest createListRecordsRequest(String baseUrl, String metadataPrefix, String set, String from, String until); static ListRecordsRequest createListRecordsRequest(String baseUrl, String resumptionToken);  }### Answer:
@Test public void createListIdentifiersRequestGeneral() { OAIRequest request = OaiPmhRequestFactory.createListIdentifiersRequest(BASE_URL, EDM_FORMAT, SET_NAME, null, null); assertListIdentifiersGeneral(request); }
@Test public void createListIdentifiersRequestWithResumptionToken() { OAIRequest request = OaiPmhRequestFactory.createListIdentifiersRequest(BASE_URL, RESUMPTION_TOKEN); assertListIdentifiersWithResumptionToken(request); }