public void OneTimeSetup()
        {
            world         = new World("test-world");
            logDispatcher = new TestLogDispatcher();
            world.CreateManager <WorkerSystem>(null, logDispatcher, TestWorkerType, Vector3.zero);

            sendSystem = world.GetOrCreateManager <SpatialOSSendSystem>();

            var testHandler = new TestComponentReplicationHandler(world.GetOrCreateManager <EntityManager>());

            sendSystem.AddComponentReplicator(testHandler);
        }
        public void OneTimeSetup()
        {
            var mockConnectionBuilder = new MockConnectionHandlerBuilder();

            worker = WorkerInWorld.CreateWorkerInWorldAsync(mockConnectionBuilder, "TestWorkerType",
                                                            new TestLogDispatcher(), Vector3.zero).Result;

            var world = worker.World;

            sendSystem = world.GetExistingSystem <ComponentSendSystem>();

            var testHandler = new TestComponentReplicationHandler();

            sendSystem.AddComponentReplicator(testHandler);
        }