示例#1
0
        public void TestCleanUp()
        {
            _driver.Dispose();

            PollClearer pollTearDown = new PollClearer(_context);

            pollTearDown.ClearPoll(_defaultPoll);
            _context.Dispose();
        }
示例#2
0
        public void TestCleanUp()
        {
            _driver.Dispose();

            using (ITestVotingContext clearContext = new TestVotingContext())
            {
                PollClearer pollTearDown = new PollClearer(clearContext);
                pollTearDown.ClearPoll(_defaultPoll);
            }

            _context.Dispose();
        }