'Should exit the PID file context manager.'

def test_exits_pidfile_context(self):

    instance = self.test_instance
    instance.pidfile = self.mock_pidlockfile
    expect_mock_output = '                                                Called    pidlockfile.PIDLockFile.__exit__()\n                                                '
    instance.close()
    self.failUnlessMockCheckerMatch(expect_mock_output)
