public void GetOrSetWorksRepeatedlyOnIdNeedingModification()
{
var wsManager = new PalasoWritingSystemManager();
IWritingSystem ws;
Assert.That(wsManager.GetOrSet("x-kal", out ws), Is.False);
Assert.That(ws.Id, Is.EqualTo("qaa-x-kal"));
IWritingSystem ws2;
Assert.That(wsManager.GetOrSet("x-kal", out ws2), Is.True);
Assert.That(ws2, Is.EqualTo(ws));
// By the way it should work the same for one where it does not have to modify the ID.
Assert.That(wsManager.GetOrSet("fr", out ws), Is.False);
Assert.That(wsManager.GetOrSet("fr", out ws), Is.True);
}