}
@SuppressWarnings("unchecked")
@Test
public void testMigrateAndPut() throws Exception {
SchemaManager manager = new DefaultSchemaManager(tablePool);
Dao<GenericRecord> dao = new GenericAvroDao(tablePool, tableName,
"TestRecord", manager, testRecord);
manager.migrateSchema(tableName, "TestRecord", goodMigrationRecordAddField);
SchemaManager afterManager = new DefaultSchemaManager(tablePool);
Dao<GenericRecord> afterDao = new GenericAvroDao(tablePool, tableName,
"TestRecord", afterManager, goodMigrationRecordAddField);
// Create the new entities
for (int i = 0; i < 10; ++i) {