@@ -0,0 +1,1519 @@
+package seedu.ezdo.model.task;%0A%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.when;%0A%0Aimport java.io.IOException;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0Aimport java.nio.file.StandardCopyOption;%0Aimport java.text.ParseException;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.BDDMockito;%0Aimport org.powermock.api.mockito.PowerMockito;%0Aimport org.powermock.core.classloader.annotations.PrepareForTest;%0Aimport org.powermock.modules.junit4.PowerMockRunner;%0A%0Aimport seedu.ezdo.commons.exceptions.DateException;%0Aimport seedu.ezdo.commons.util.DateUtil;%0Aimport seedu.ezdo.model.ModelManager;%0Aimport seedu.ezdo.model.todo.ReadOnlyTask;%0Aimport seedu.ezdo.testutil.TaskBuilder;%0A%0A@RunWith(PowerMockRunner.class)%0A@PrepareForTest(DateUtil.class)%0Apublic class ModelManagerTest %7B%0A%0A    private ModelManager modelManager;%0A%0A    @Before%0A    public void setUp() %7B%0A        modelManager = new ModelManager();%0A    %7D%0A%0A    @Rule%0A    public ExpectedException thrown = ExpectedException.none();%0A%0A    @Test%0A    public void checkDate_parseFail() throws Exception %7B%0A        ReadOnlyTask task = new TaskBuilder().build();%0A        PowerMockito.mockStatic(DateUtil.class);%0A        BDDMockito.given(DateUtil.isTaskDateValid(task))%0A                .willThrow(new ParseException(%22parse fail%22, 0));%0A        thrown.expect(DateException.class);%0A        modelManager.checkTaskDate(task);%0A    %7D%0A%0A%7D%0A

Add ModelManagerTest for checkTaskDate method