assertNull(manager.authorizeDocids("nonexistent", docids, identity));
}
/** Test authorizeDocids. */
public void testAuthorizeDocids() throws Exception {
instantiator.addConnector(connectorName, new MockConnector(null, null,
new AuthorizeAllAuthorizationManager(), null, null));
List<String> docids = Arrays.asList(new String[] { "foo", "bar", "baz" });
Collection<AuthorizationResponse> authorized =
manager.authorizeDocids(connectorName, docids, identity);