'Adding, removing, and listing readers works.'

def test_readers(self):

    reader = object()
    reactor = MemoryReactor()
    reactor.addReader(reader)
    reactor.addReader(reader)
    self.assertEqual(reactor.getReaders(), [reader])
    reactor.removeReader(reader)
    self.assertEqual(reactor.getReaders(), [])
