'Append two messages, and use get to receive them'

def test_get(self):

    qos = self.qos_no_limit
    (m1, m1_tag) = self.mock_message_factory()
    (m2, m2_tag) = self.mock_message_factory()
    qos.append(m1, m1_tag)
    qos.append(m2, m2_tag)
    message1 = qos.get(m1_tag)
    message2 = qos.get(m2_tag)
    assert (m1 is message1)
    assert (m2 is message2)
