Authorizations auths = new Authorizations("foo");
Collection<Pair<Text,Text>> fetchColumns = Collections.singleton(new Pair<Text,Text>(new Text("foo"), new Text("bar")));
boolean isolated = true, localIters = true;
Level level = Level.WARN;
Instance inst = new MockInstance(instance);
Connector connector = inst.getConnector(username, password);
connector.tableOperations().create(table);
AccumuloInputFormat.setConnectorInfo(job, username, password);
AccumuloInputFormat.setInputTableName(job, table);
AccumuloInputFormat.setScanAuthorizations(job, auths);