def test_process_message_content_callback(self):
     """Test request processMessage for content w/callback."""
     response = []
     self.request = GetDelta(self.protocol, SHARE, 0,
                             callback=response.append)
     message = test_delta_info.get_message()
     self.request.processMessage(message)
     self.assertTrue(delta.from_message(message) in response)
 def test_process_message_content(self):
     """Test request processMessage for content."""
     message = test_delta_info.get_message()
     self.request.processMessage(message)
     self.assertTrue(delta.from_message(message) in self.request.response)