Beispiel #1
0
        public async Task <IEnumerable <string> > GetUsersEmailsByRoom(int roomId)
        {
            var emails = await _officeMapService.GetEmailsByRoomAsync(roomId);

            return(emails);
        }
        public async Task Should_Return_If_Get_Emails_By_Room_Returns_Incorrect_Emails()
        {
            var emails = await _officeMapService.GetEmailsByRoomAsync(1);

            Assert.AreEqual(2, emails.Count());
        }