@BeforeMethod
public void setup()
throws Exception
{
H2EmbeddedDataSourceConfig dataSourceConfig = new H2EmbeddedDataSourceConfig().setFilename("mem:");
DataSource dataSource = new H2EmbeddedDataSource(dataSourceConfig);
DBI h2Dbi = new DBI(dataSource);
h2Dbi.registerMapper(new PartitionKey.Mapper(new TypeRegistry()));
handle = h2Dbi.open();
dao = handle.attach(ShardManagerDao.class);