@@ -0,0 +1,1776 @@
+package seedu.address.logic.parser;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.lang.reflect.Field;%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport seedu.address.logic.commands.ListCommand;%0A%0Apublic class ListCommandParserTest %7B%0A%0A    @Rule%0A    public ExpectedException thrown = ExpectedException.none();%0A    %0A    @Test%0A    public void nullTest() throws Exception%7B%0A%0A        Field field = ListCommand.class.getDeclaredField(%22keywords%22);%0A        field.setAccessible(true);%0A        %0A        ListCommandParser tester = new ListCommandParser();%0A        ListCommand listCommand =  (ListCommand) tester.parse(null);%0A        assertEquals(field.get(listCommand), null);%0A    %7D%0A    %0A    @Test%0A    public void singleFieldTest() throws Exception %7B%0A        %0A        Field field = ListCommand.class.getDeclaredField(%22keywords%22);%0A        field.setAccessible(true);%0A        %0A        ListCommandParser tester = new ListCommandParser();%0A        ListCommand listCommand =  (ListCommand) tester.parse(%22personal%22);%0A        %0A        Set%3CString%3E set = new HashSet%3CString%3E();%0A        set.add(%22personal%22);%0A        %0A        assertEquals(field.get(listCommand), set);%0A    %7D%0A    %0A    /*@Test%0A    public void nultipleieldTest() throws Exception %7B%0A        %0A        Field field = ListCommand.class.getDeclaredField(%22keywords%22);%0A        field.setAccessible(true);%0A        %0A        ListCommandParser tester = new ListCommandParser();%0A        ListCommand listCommand =  (ListCommand) tester.parse(%22personal school%22);%0A        %0A        Set%3CString%3E set = new HashSet%3CString%3E();%0A        set.add(%22personal%22);%0A        set.add(%22school%22);%0A        %0A        assertEquals(field.get(listCommand), set);%0A    %7D*/%0A%7D%0A

Test ListCommandParser