package seedu.address.testutil;

import seedu.address.model.person.Deadline;
import seedu.address.model.person.Name;
import seedu.address.model.person.Deadline;
import seedu.address.model.person.ReadOnlyTask;
import seedu.address.model.tag.UniqueTagList;

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

    private Name name;
    private Deadline deadline;
    private UniqueTagList tags;

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

    /**
     * Creates a copy of {@code taskToCopy}.
     */
    public TestTask(TestTask taskToCopy) {
        this.name = taskToCopy.getName();
        this.tags = taskToCopy.getTags();
    }

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

    public void setDeadline(Deadline deadline) {
        this.deadline = deadline;
    }
    
    public void setTags(UniqueTagList tags) {
        this.tags = tags;
    }

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

    @Override
    public Deadline getDeadline() {
        return deadline;
    }

    @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().asObservableList().stream().forEach(s -> sb.append("t/" + s.tagName + " "));
        return sb.toString();
    }
}

@@ -202,16 +202,57 @@
 lyTask;%0A
+import seedu.address.model.person.Start;%0A
 import s
@@ -289,16 +289,16 @@
 agList;%0A
-
 %0A/**%0A * 
@@ -412,24 +412,49 @@
  Name name;%0A
+    private Start start;%0A
     private 
@@ -714,24 +714,118 @@
 .getName();%0A
+        this.start = taskToCopy.getStart();%0A        this.deadline = taskToCopy.getDeadline();%0A
         this
@@ -925,24 +925,104 @@
  name;%0A    %7D
+%0A    %0A%0A    public void setStart(Start start) %7B%0A        this.start = start;%0A    %7D
 %0A%0A    public
@@ -1246,32 +1246,109 @@
 rn name;%0A    %7D%0A%0A
+    @Override%0A    public Start getStart() %7B%0A        return start;%0A    %7D%0A    %0A
     @Override%0A  

Update TestTask with Start