'If the server response to a I{SELECT} or I{EXAMINE} command includes an
I{UNSEEN} response, the L{Deferred} returned by L{IMAP4Client.select} or
L{IMAP4Client.examine} fires with a C{dict} including the value
associated with the C{\'UNSEEN\'} key.'

def test_unseen(self):

    d = self._examineOrSelect()
    self._response('*    OK    [UNSEEN    8]    Message    8    is    first    unseen')
    self.assertEqual(self._extractDeferredResult(d), {'READ-WRITE': False, 'UNSEEN': 8})
