public void KeyAttributeGenerateTest()
        {
            var test = new KeyClass { Uid = 1000 };
            var kg = new IdentityKeyGenerator();
            var key = kg.Generate(test);

            Assert.AreEqual("uid:1000", key.ToString());
        }
        public void NoKeyAttributeGenerateTest2()
        {
            var test = new UnkeyedClass { UnkeyedClassId = 1000 };
            var kg = new IdentityKeyGenerator();
            var key = kg.Generate(test);

            Assert.AreEqual("unkeyedclassid:1000", key.ToString());
        }