'Make sure that the locmen backend populates the outbox.'

def test_locmem_shared_messages(self):

    connection = locmem.EmailBackend()
    connection2 = locmem.EmailBackend()
    email = EmailMessage(u'Subject', u'Content', u'bounce@example.com', [u'to@example.com'], headers={u'From': u'from@example.com'})
    connection.send_messages([email])
    connection2.send_messages([email])
    self.assertEqual(len(mail.outbox), 2)
