public async Task GetAllConversationShouldReturnAllConversationPerUser() { await this.PopulateConversation(); var service = new MessengerService(this.conversationRepository, this.messageRepository); List <TestConversationViewModel> conversations = service .GetAllConversation <TestConversationViewModel>("ddd") .ToList(); Assert.Single(conversations); Assert.Equal("bbb", conversations[0].Name); }