}
public void testGenerateWaveletBlipRemovedEvent() throws Exception {
ObservableConversationThread rootThread =
conversationUtil.buildConversation(wavelet).getRoot().getRootThread();
ObservableConversationBlip newBlip = rootThread.appendBlip();
newBlip.delete();
EventMessageBundle messages = generateAndCheckEvents(EventType.WAVELET_BLIP_REMOVED);
assertEquals("Expected two events", 2, messages.getEvents().size());
// Blip removed should be the second event.
WaveletBlipRemovedEvent event = WaveletBlipRemovedEvent.as(messages.getEvents().get(1));