def getStorage(self, groups, moderators, mailhost, sender):
        storageFilename = self.mktemp()
        shelf = NewsShelf(mailhost, storageFilename, sender)
        for name in groups:
            shelf.addGroup(name, 'm') # Dial 'm' for moderator
            for address in moderators.get(name, []):
                shelf.addModerator(name, address)
        shelf.sendmail = self.sendmail
        return shelf
Create and return a L{NewsShelf} instance configured to require
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/news/test/test_database.py/NewsShelfTests.getStorage