public void ShouldSetAndGetId(Type entityType)
        {
            var id         = Guid.NewGuid().ToString();
            var entity     = Activator.CreateInstance(entityType);
            var descriptor = DefaultEntityConfigConventions.GetIdMember(entityType);

            descriptor.SetValue(entity, id);

            string returnedRevision = descriptor.GetValue(entity);

            Assert.Equal(id, returnedRevision);
        }
        public void ShouldReturnFalseIfNoIdProperty()
        {
            var isPresent = DefaultEntityConfigConventions.GetIdMember(typeof(RevisionPublicFieldEntity)).IsDefined;

            Assert.False(isPresent);
        }