assertEquals(title, digest.getTitle());
assertEquals(1, digest.getBlipCount());
}
public void testUnreadCount() {
TestingWaveletData data =
new TestingWaveletData(WAVE_ID, CONVERSATION_WAVELET_ID, PARTICIPANT, true);
data.appendBlipWithText("blip number 1");
data.appendBlipWithText("blip number 2");
data.appendBlipWithText("blip number 3");
ObservableWaveletData observableWaveletData = data.copyWaveletData().get(0);
ObservableWavelet wavelet = OpBasedWavelet.createReadOnly(observableWaveletData);
ObservableConversationView conversation = conversationUtil.buildConversation(wavelet);
SupplementedWave supplement = mock(SupplementedWave.class);
when(supplement.isUnread(any(ConversationBlip.class))).thenReturn(true, true, false);