Exemple #1
0
        public void GetPhoneBoookTest()
        {
            try
            {
                PhoneBookService service = new PhoneBookService(new GenericRepository <PhoneBook, int>(), new GenericRepository <Entry, int>());

                var phoneBook = service.GetPhoneBoook().Result;
                Assert.IsNotNull(phoneBook);
            }
            catch (Exception)
            {
                Assert.Fail();
            }
        }