protected override void OnUpdate()
        {
            var historyBuffer = new CollisionHistoryBuffer(1);

            Entities
            .WithAll <Translation>()
            .ForEach((Entity entity, int entityInQueryIndex) =>
            {
                historyBuffer.GetCollisionWorldFromTick(0, 0, out var world);
            }).Schedule();
            Assert.Throws <InvalidOperationException>(() =>
            {
                Dependency.Complete();
            }, "PhysicHistoryBuffer must be declared as ReadOnly if a job does not write to it");

            Entities
            .WithAll <Translation>()
            .WithoutBurst()
            //.WithReadOnly(historyBuffer)
            .ForEach((Entity entity, int entityInQueryIndex) =>
            {
                historyBuffer.GetCollisionWorldFromTick(0, 0, out var world);
            }).Schedule();
            Assert.DoesNotThrow(() =>
            {
                Dependency.Complete();
            });
            historyBuffer.Dispose();
        }
 static void InitializeHistory(ref CollisionHistoryBuffer buffer, in CollisionWorld collisionWorld)