@Test
public void testVerbListIdentifiersBadArgument() throws Exception {

  final OaiPmhRepository repo = repo(null, Granularity.DAY);
  runChecks(OaiPmhConstants.VERB_LIST_IDENTIFIERS,
            repo.selectVerb(params("ListIdentifiers", null, null, null, null, null)),
            some(IsError),
            list(hasXPath("//oai20:error[@code='badArgument']", NS_CTX)));
}