public void AfterTest() { _species = null; _otherPushable = null; _pushable = null; _pushTrigger = null; }
public void BeforeTest() { _pushTrigger = new GameObject().AddComponent <TestPushObjectTriggerComponent>(); _pushTrigger.gameObject.AddComponent <TestUnityMessageEventDispatcherComponent>().TestAwake(); _pushable = new GameObject().AddComponent <MockPushableObjectComponent>(); _otherPushable = new GameObject().AddComponent <MockPushableObjectComponent>(); _species = new GameObject().AddComponent <MockSpeciesComponent>(); }