assertEquals(3 * 3, chains.size());
// Check that if we ask the same table twice, we get the same instance (verifies cache works)
assertTrue(client.getRepository("repo1").getTable("table1") == client.getRepository("repo1").getTable("table1"));
lilyProxy.stop();
// Check each of the decorators was properly closed
assertEquals(9, TestRepositoryDecoratorFactory.CLOSE_COUNT.get());
}