Example #1
0
        public void TestGetId()
        {
            configuration.HasKey(x => x.Id);

            var instance = new TestDocument();

            instance.Id = 1;
            Assert.AreEqual(instance.Id, configuration.GetId(instance));
        }