Index: main/waeup.kofa/trunk/src/waeup/kofa/tests/test_objecthistory.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/tests/test_objecthistory.py	(revision 9012)
+++ main/waeup.kofa/trunk/src/waeup/kofa/tests/test_objecthistory.py	(revision 9125)
@@ -101,4 +101,20 @@
         self.assertMatches('<YYYY-MM-DD hh:mm:ss> UTC - blow by Bob', result)
 
+    def test_remove_message(self):
+        principal = Principal('bob')
+        principal.title = 'Bob'
+        newInteraction(Participation(principal)) # set current user
+        hist = IObjectHistory(self.obj)
+        hist.addMessage('blah')
+        hist.addMessage('blow')
+        self.assertEqual(len(hist._getMessages()),2)
+        result = ' '.join(hist.messages)
+        self.assertTrue('blah by Bob' in result)
+        self.assertTrue('blow by Bob' in result)
+        hist.removeMessage(1)
+        self.assertEqual(len(hist._getMessages()),1)
+        result = ' '.join(hist.messages)
+        self.assertFalse('blow by Bob' in result)
+
     def test_messages(self):
         # we get messages as a persistent list of strings
