public void testInitialize()
        {
            UpdatableIDMigrator migrator = new MemoryIDMigrator();
            long id = migrator.tolongID(DUMMY_STRING);

            Assert.IsNull(migrator.toStringID(id));
            migrator.initialize(Collections.singleton(DUMMY_STRING));
            Assert.AreEqual(DUMMY_STRING, migrator.toStringID(id));
        }
        public void testStore()
        {
            UpdatableIDMigrator migrator = new MemoryIDMigrator();
            long id = migrator.tolongID(DUMMY_STRING);

            Assert.IsNull(migrator.toStringID(id));
            migrator.storeMapping(id, DUMMY_STRING);
            Assert.AreEqual(DUMMY_STRING, migrator.toStringID(id));
        }