public void GenerateId_ReturnsDifferentIds()
        {
            var first  = _guidGenerator.GenerateId();
            var second = _guidGenerator.GenerateId();

            Assert.That(first, !Is.EqualTo(second));
        }
예제 #2
0
        private void AddGuidId()
        {
            var guidgen = new GuidGenerator();
            var id      = (Guid)guidgen.GenerateId(_coll, Doc);

            AddID(id);
        }