assertEquals(entity, uuidManager.getEntity(uuid1));
}
@Test
public void explicit_uuids() {
World world = new World();
world.setManager(new UuidEntityManager());
world.initialize();
UUID[] uuids = new UUID[3];
uuids[0] = UUID.randomUUID();
uuids[1] = UUID.randomUUID();
uuids[2] = UUID.randomUUID();
Entity e1 = world.createEntity(uuids[0]);
Entity e2 = world.createEntity(uuids[1]);
Entity e3 = world.createEntity(uuids[2]);
assertEquals(uuids[0], e1.getUuid());
assertEquals(uuids[1], e2.getUuid());
assertEquals(uuids[2], e3.getUuid());
}