public void AfterTest() { _otherPower = null; _power = null; _assign = null; }
public void BeforeTest() { _assign = new GameObject().AddComponent <TestPowerAssignmentComponent>(); _assign.gameObject.AddComponent <TestUnityMessageEventDispatcherComponent>().TestAwake(); _power = new GameObject().AddComponent <MockPowerComponent>(); _otherPower = new GameObject().AddComponent <MockPowerComponent>(); }