Ejemplo n.º 1
0
        public static void sessionsApiTest(String username, String password, String auth, vestorly.model.Session mySession)
        {
            System.Diagnostics.Debug.WriteLine("\n\nSTART OF SESSIONSAPI TEST\n\n");
            vestorly.api.SessionsApi sessionsApi = new vestorly.api.SessionsApi();

            // POST
            System.Diagnostics.Debug.WriteLine("POST: " + mySession);

            // DELETE
            System.Diagnostics.Debug.WriteLine("DELETE{ID}: " + sessionsApi.Logout(auth, mySession.currentUser.id));

            System.Diagnostics.Debug.WriteLine("All SessionsApi Tests have passed!");
        }