'Test retrieving server statistics via the L{MemCacheProtocol.stats}
command: it parses the data sent by the server and calls back the
resulting L{Deferred} with a dictionary of the received statistics.'

def test_stats(self):

    return self._test(self.proto.stats(), 'stats\r\n', 'STAT    foo    bar\r\nSTAT    egg    spam\r\nEND\r\n', {'foo': 'bar', 'egg': 'spam'})
