def test_it_should_generate_new_ids(self): msg1 = InvocationMessage() msg2 = InvocationMessage() expect(msg1.id) != msg2