Пример #1
0
        public void Given_UserIsAuthenticated_UserAttemptsToSearchAContact()
        {
            Register();
            var entry = new Entry
            {
                Name        = "Rimuru Tempest",
                PhoneNumber = "123456789"
            };
            var result = repo.CreateContact(entry, 1);

            var search_result = repo.SearchPhonebook("rimuru", "", 1);

            Assert.IsNotNull(search_result);
            Assert.IsNotEmpty(search_result.Entries);
        }