Search in sources :

Example 1 with WeekViewPresenterFactory

use of com.instructure.parentapp.factorys.WeekViewPresenterFactory in project instructure-android by instructure.

the class WeekPresenterTest method setUp.

@Before
public void setUp() throws Exception {
    Student student = new Student();
    student.setStudentId("student_12345");
    student.setParentId("parent_12345");
    student.setStudentDomain("https://localhost.com");
    student.setStudentName("Man in the Yellow Hat");
    Course course = new Course();
    course.setName("Curious George and the Hidden Course of Doom");
    course.setCourseCode("course_12345");
    mPresenter = new WeekViewPresenterFactory(student, course).create();
}
Also used : WeekViewPresenterFactory(com.instructure.parentapp.factorys.WeekViewPresenterFactory) Student(com.instructure.canvasapi2.models.Student) Course(com.instructure.canvasapi2.models.Course) Before(org.junit.Before)

Aggregations

Course (com.instructure.canvasapi2.models.Course)1 Student (com.instructure.canvasapi2.models.Student)1 WeekViewPresenterFactory (com.instructure.parentapp.factorys.WeekViewPresenterFactory)1 Before (org.junit.Before)1