Beispiel #1
0
        public void CreateUserTest(RestRequestUser user)
        {
            UserRestCalls userRestCalls = new UserRestCalls();

            IRestResponse response = userRestCalls.CreateUser(user);

            Console.WriteLine(response.Content);

            Assert.AreNotEqual(0, response.ContentLength);
        }
Beispiel #2
0
        public void UpdateUserTest()
        {
            UserRestCalls userRestCalls = new UserRestCalls();

            IRestResponse response = userRestCalls.UpdateUser(UserId, UserProfile);

            Console.WriteLine(response.Content);

            Assert.AreNotEqual(0, response.ContentLength);
        }
Beispiel #3
0
        public void GetUserTest()
        {
            UserRestCalls userRestCalls = new UserRestCalls();

            IRestResponse response = userRestCalls.GetUser(UserId);

            Console.WriteLine(response.Content);

            Assert.AreNotEqual(0, response.ContentLength);
        }