Exemplo n.º 1
0
        public async Task GetAllValues()
        {
            var url      = "/Values";
            var response = await GetResponse <List <User> >(url);

            var expectedUsers = DatabaseInitializer.GetInitialUsers();

            foreach (var expectedUser in expectedUsers)
            {
                Assert.Contains(response, u => u.UserName == expectedUser.UserName && u.Email == expectedUser.Email);
            }
        }