package seedu.taskitty.testutil;

import seedu.taskitty.model.tag.UniqueTagList;
import seedu.taskitty.model.task.*;

/**
 * A mutable person object. For testing only.
 */
public class TestTask implements ReadOnlyTask {

    private Name name;
    private UniqueTagList tags;

    public TestTask() {
        tags = new UniqueTagList();
    }

    public void setName(Name name) {
        this.name = name;
    }

    @Override
    public Name getName() {
        return name;
    }

    @Override
    public UniqueTagList getTags() {
        return tags;
    }

    @Override
    public String toString() {
        return getAsText();
    }

    public String getAddCommand() {
        StringBuilder sb = new StringBuilder();
        sb.append("add " + this.getName().fullName + " ");
        this.getTags().getInternalList().stream().forEach(s -> sb.append("t/" + s.tagName + " "));
        return sb.toString();
    }
}

@@ -233,24 +233,118 @@
  Name name;%0A
+    private TaskDate date;%0A    private TaskTime startTime;%0A    private TaskTime endTime;%0A    %0A
     private 
@@ -561,32 +561,274 @@
 turn name;%0A    %7D
+%0A    %0A    @Override%0A    public TaskDate getDate() %7B%0A        return date;%0A    %7D%0A%0A    @Override%0A    public TaskTime getStartTime() %7B%0A        return startTime;%0A    %7D%0A%0A    @Override%0A    public TaskTime getEndTime() %7B%0A        return endTime;%0A    %7D
 %0A%0A    @Override%0A

Fix TestTask