@@ -0,0 +1,1536 @@
+package seedu.taskitty.model;%0A%0Aimport javafx.collections.FXCollections;%0Aimport seedu.taskitty.commons.core.UnmodifiableObservableList;%0Aimport seedu.taskitty.commons.exceptions.DataConversionException;%0Aimport seedu.taskitty.commons.exceptions.IllegalValueException;%0Aimport seedu.taskitty.model.task.Task;%0Aimport seedu.taskitty.model.task.TaskDate;%0Aimport seedu.taskitty.model.task.TaskTime;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport java.util.*;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertSame;%0Aimport static seedu.taskitty.testutil.TestUtil.assertThrows;%0A%0Apublic class TaskTest %7B%0A%0A    @Rule%0A    public ExpectedException thrown = ExpectedException.none();%0A    %0A    @Test%0A    public void invalidDateFormat_exceptionThrown() throws Exception %7B%0A        thrown.expect(IllegalValueException.class);%0A        TaskDate date = new TaskDate(%2225-12-2016%22);%0A    %7D%0A    %0A    @Test%0A    public void invalidDate_exceptionThrown() throws Exception %7B%0A        thrown.expect(IllegalValueException.class);%0A        TaskDate date = new TaskDate(%2229/2/2015%22);%0A    %7D%0A    %0A    @Test%0A    public void invalidTimeFormat_exceptionThrown() throws Exception %7B%0A        thrown.expect(IllegalValueException.class);%0A        TaskTime date = new TaskTime(%223pm%22);%0A    %7D%0A    %0A    @Test%0A    public void invalidTime_exceptionThrown() throws Exception %7B%0A        thrown.expect(IllegalValueException.class);%0A        TaskDate date = new TaskDate(%2225:00%22);%0A    %7D%0A%7D%0A

Add new test for Task