public void TestCleanUp() { _driver.Dispose(); PollClearer pollTearDown = new PollClearer(_context); pollTearDown.ClearPoll(_defaultPoll); _context.Dispose(); }
public void TestCleanUp() { _driver.Dispose(); using (ITestVotingContext clearContext = new TestVotingContext()) { PollClearer pollTearDown = new PollClearer(clearContext); pollTearDown.ClearPoll(_defaultPoll); } _context.Dispose(); }