public void SetSameAs_Should_set_same_as_on_recorded_entity()
        {
            using (EntityCommandRecorder recorder = new EntityCommandRecorder(1024))
                using (World world = new World())
                {
                    Entity reference = world.CreateEntity();
                    reference.Set(true);
                    Entity entity = world.CreateEntity();

                    EntityRecord record = recorder.Record(entity);
                    record.SetSameAs <bool>(recorder.Record(reference));

                    recorder.Execute(world);

                    Check.That(entity.Get <bool>()).IsTrue();
                }
        }
        public void SetSameAs_Should_set_same_as_on_created_entity()
        {
            using EntityCommandRecorder recorder = new(1024);
            using World world = new();

            Entity reference = world.CreateEntity();

            reference.Set(true);

            EntityRecord record = recorder.CreateEntity(world);

            record.SetSameAs <bool>(recorder.Record(reference));

            recorder.Execute();

            reference.Dispose();

            Check.That(world.Single().Get <bool>()).IsTrue();
        }