public void AfterTest() { _otherListener = null; _listener = null; _noise = null; }
public void BeforeTest() { _noise = new GameObject().AddComponent <TestNoiseService>(); _listener = new GameObject().AddComponent <MockNoiseListenerComponent>(); _otherListener = new GameObject().AddComponent <MockNoiseListenerComponent>(); }