コード例 #1
0
        public async Task GetConversationNameByIdShouldReturnTheRightName()
        {
            await this.PopulateConversation();

            var service = new MessengerService(this.conversationRepository, this.messageRepository);

            string conversationName = service.GetConversationNameById(3);

            Assert.Equal("ccc", conversationName);
        }