'If the server response to a I{SELECT} or I{EXAMINE} command includes an
I{UIDVALIDITY} 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{\'UIDVALIDITY\'} key.'

def test_uidvalidity(self):

    d = self._examineOrSelect()
    self._response('*    OK    [UIDVALIDITY    12345]    UIDs    valid')
    self.assertEqual(self._extractDeferredResult(d), {'READ-WRITE': False, 'UIDVALIDITY': 12345})
