'A capability response consisting of both simple and category atoms of
the same type should result in a list containing L{None} as well as the
values for the category.'

def test_mixedAtoms(self):

    capabilitiesResult = self.protocol.getCapabilities(useCache=False)
    self.protocol.dataReceived('*    CAPABILITY    IMAP4rev1    FOO    FOO=BAR    BAR=FOO    BAR\r\n')
    self.protocol.dataReceived('0001    OK    Capability    completed.\r\n')
    def gotCapabilities(capabilities):
        self.assertEqual(capabilities, {'IMAP4rev1': None, 'FOO': [None, 'BAR'], 'BAR': ['FOO', None]})
    capabilitiesResult.addCallback(gotCapabilities)
    return capabilitiesResult
