Пример #1
0
        public void GetEntryTest()
        {
            try
            {
                PhoneBookService service = new PhoneBookService(new GenericRepository <PhoneBook, int>(), new GenericRepository <Entry, int>());
                var phoneBook            = service.GetEntry(1).Result;

                Assert.IsNotNull(phoneBook);
            }
            catch (Exception)
            {
                Assert.Fail();
            }
        }