### Question:
Tasklist implements Parcelable { public Task getTask(int index) { return tasks.get(index); } protected  Tasklist(Parcel in); void add(Task task); boolean hasTask(Task task); Task getTask(int index); int length(); void delTask(Task task); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final Creator<Tasklist> CREATOR; }### Answer:
@Test public void getTask() throws Exception { Tasklist taskList = new Tasklist(); Task myTask = new Task("Shovel snow", "Shovelling snow at my house", "open"); taskList.add(myTask); assertEquals(taskList.getTask(0), myTask); }