public void SetUp() { Physics.autoSimulation = false; containingObject = new GameObject("containingObject"); containingObject.SetActive(false); subject = containingObject.AddComponent <ObjectPointerMock>(); }