public void testTableNotFound() throws AccumuloException, AccumuloSecurityException, TableExistsException, TableNotFoundException {
Instance instance = new MockInstance("topstest");
Connector conn = instance.getConnector("user", new PasswordToken("pass"));
String t = "tableName";
try {
conn.tableOperations().attachIterator(t, null);
Assert.fail();
} catch (TableNotFoundException e) {}
try {
conn.tableOperations().checkIteratorConflicts(t, null, EnumSet.allOf(IteratorScope.class));
Assert.fail();