@@ -0,0 +1,858 @@
+package seedu.ezdo.commons;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.ezdo.commons.events.ui.TaskPanelSelectionChangedEvent;%0Aimport seedu.ezdo.model.tag.UniqueTagList;%0Aimport seedu.ezdo.model.todo.DueDate;%0Aimport seedu.ezdo.model.todo.Name;%0Aimport seedu.ezdo.model.todo.Priority;%0Aimport seedu.ezdo.model.todo.ReadOnlyTask;%0Aimport seedu.ezdo.model.todo.StartDate;%0Aimport seedu.ezdo.model.todo.Task;%0A%0Apublic class EventsTest %7B%0A%0A    @Test%0A    public void TaskPanelSelectionChangedEvent_getData() throws Exception %7B%0A        ReadOnlyTask task = new Task(new Name(%22hello%22), new Priority(%22%22),%0A                new StartDate(%22%22), new DueDate(%22%22), new UniqueTagList(%22what%22));%0A        TaskPanelSelectionChangedEvent tpsce = new TaskPanelSelectionChangedEvent(task);%0A        assertEquals(tpsce.getNewSelection(), task);%0A    %7D%0A%7D%0A

Add EventsTest to check getNewSelection for TaskSelectionPanelChangedEvent returns right readonlytask