'L{IMAP4Client.search} sends the I{SEARCH} command and returns a
L{Deferred} which fires with a C{list} of message sequence numbers
given by the server\'s response.'

def test_search(self):

    d = self._search()
    self._response([2, 5, 10])
    self.assertEqual(self._extractDeferredResult(d), [2, 5, 10])
