public void Can_convert_entity_to_entity_accessor()
        {
            var entity   = new Entity("xts_entity", Guid.NewGuid());
            var accessor = entity.ToEntityAccessor <xts_entity>();

            Assert.Equal(entity.ToEntityReference(), accessor.Entity.ToEntityReference());

            var earlyBoundEntity = new xts_entity {
                Id = Guid.NewGuid()
            };
            var earlyBoundAccessor = earlyBoundEntity.ToEntityAccessor();

            Assert.Equal(earlyBoundEntity.ToEntityReference(), earlyBoundAccessor.Entity.ToEntityReference());
        }