@@ -0,0 +1,1242 @@
+//@@author A0141052Y%0Apackage guitests;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.task.testutil.TestTask;%0A%0Apublic class SearchCommandTest extends TaskManagerGuiTest %7B%0A    @Test%0A    public void search() %7B%0A        TestTask%5B%5D currentList = td.getTypicalTasks();%0A%0A        // test search full name%0A        assertSearchResult(td.daniel.getName().taskName, td.daniel);%0A        %0A        // test search partial name%0A        assertSearchResult(%22Have lunch%22, td.daniel);%0A        %0A        // test search no name%0A        assertSearchResult(%22%22, currentList);%0A        %0A        // test search no results%0A        assertSearchResult(%22this does not exist%22);%0A    %7D%0A    %0A    private void resetCommandBox() %7B%0A        commandBox.pressEnter();%0A    %7D%0A    %0A    private void assertSearchResult(String query, TestTask... expectedHits ) %7B%0A        commandBox.runCommand(%22searchbox%22);%0A        commandBox.enterCommand(query);%0A        assertListSize(expectedHits.length);%0A        assertTrue(taskListPanel.isListMatching(expectedHits));%0A        %0A        commandBox.runCommand(query);%0A        assertListSize(expectedHits.length);%0A        assertTrue(taskListPanel.isListMatching(expectedHits));%0A        %0A        resetCommandBox();%0A    %7D%0A%7D%0A

Add basic test cases for searchbox