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

def test_locmem_shared_messages(self):

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