public void TearDown() { if (m_listener != null) m_listener.Dispose(); m_listener = null; if (m_mediator != null) m_mediator.Dispose(); m_mediator = null; }
// Fixture Setup protected override void CreateTestData() { base.CreateTestData(); SetupTestMediator(); // Setup test AreaListener m_listener = new AreaListener(); m_listener.Init(m_mediator, null); }