public void EmptyConversationWindowModelTest() { ConversationWindowModel model = new ConversationWindowModel(new MockDisplayOptions(), new MockPhoneSelectOptions()); VerifyDefaultConversationModelSettings(model); TextConversationStatisticsTest.VerifyStatisticsAllZero(model.ConversationStatistics); }
private ConversationWindowModel GetPopulatedConversationWindowModel() { IDisplayOptions displayOptions = new MockDisplayOptions(); IPhoneSelectOptions phoneSelectOptions = new MockPhoneSelectOptions(); ConversationWindowModel model = new ConversationWindowModel(displayOptions, phoneSelectOptions); IConversationManager conversationManager = GetConversationManager(displayOptions); model.ConversationManager = conversationManager; return model; }
private ConversationWindowModel GetEmptyPopulatedConversationWindowModel() { IDisplayOptions displayOptions = new MockDisplayOptions(); IPhoneSelectOptions phoneSelectOptions = new MockPhoneSelectOptions(); ConversationWindowModel model = new ConversationWindowModel(displayOptions, phoneSelectOptions); model.ConversationManager = DummyConversationDataGenerator.GetConversationManagerEmpty(); return model; }