{
IDBI dbi = new DBI("jdbc:h2:mem:test" + System.nanoTime());
dummyHandle = dbi.open();
dataDir = Files.createTempDir();
ShardManager shardManager = new DatabaseShardManager(dbi);
InMemoryNodeManager nodeManager = new InMemoryNodeManager();
String nodeName = UUID.randomUUID().toString();
nodeManager.addNode("native", new Node(nodeName, new URI("http://127.0.0.1/"), NodeVersion.UNKNOWN));
MetadataManager metadataManager = new MetadataManager();
metadataManager.addConnectorMetadata("local", new NativeMetadata("native", dbi));
tableHandle = metadataManager.createTable("local", TEST_TABLE);