'L{INewsStorage.postRequest} posts the message if it includes an
I{Approved} header.'

def test_postApproved(self):

    group = 'example.group'
    moderator = 'alice@example.com'
    mailhost = '127.0.0.1'
    sender = 'bob@example.org'
    articleID = messageid()
    storage = self.getStorage([group], {group: [moderator]}, mailhost, sender)
    message = self.getApprovedMessage(articleID, group)
    result = storage.postRequest(message)
    def cbPosted(ignored):
        self.assertEqual(self._email, [])
        exists = storage.articleExistsRequest(articleID)
        exists.addCallback(self.assertTrue)
        return exists
    result.addCallback(cbPosted)
    return result
