Exemplo n.º 1
0
        public void TestCleanUp()
        {
            _driver.Dispose();

            PollClearer pollTearDown = new PollClearer(_context);

            pollTearDown.ClearPoll(_defaultPoll);
            _context.Dispose();
        }
Exemplo n.º 2
0
        public void TestCleanUp()
        {
            _driver.Dispose();

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

            _context.Dispose();
        }