Package org.springframework.social.google.api.tasks

Examples of org.springframework.social.google.api.tasks.TasksPage


    mockServer
        .expect(requestTo("https://www.googleapis.com/tasks/v1/lists/@default/tasks?maxResults=100"))
        .andExpect(method(GET))
        .andRespond(
            withSuccess(jsonResource("tasks"), APPLICATION_JSON));
    TasksPage page = google.taskOperations().getTasks();
    assertTasksPage(page);
  }
View Full Code Here


    mockServer
        .expect(requestTo("https://www.googleapis.com/tasks/v1/lists/MTY1OTA3NzU4OTQyMFAzMjM0MDc6MDow/tasks"))
        .andExpect(method(GET))
        .andRespond(
            withSuccess(jsonResource("tasks"), APPLICATION_JSON));
    TasksPage page = google.taskOperations().getTasks(FIRST_TASK_LIST_ID,
        null);
    assertTasksPage(page);
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.google.api.tasks.TasksPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.