@@ -0,0 +1,949 @@
+package jfdi.test.logic.events;%0A%0Aimport jfdi.logic.events.InvalidCommandEvent;%0Aimport jfdi.parser.Constants;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * @author Xinan%0A */%0Apublic class InvalidCommandEventTest %7B%0A%0A    @Test%0A    public void getInputString() throws Exception %7B%0A        InvalidCommandEvent event = new InvalidCommandEvent(%22WTF%22, null, null);%0A        assertEquals(%22WTF%22, event.getInputString());%0A    %7D%0A%0A    @Test%0A    public void getCommandType() throws Exception %7B%0A        InvalidCommandEvent event = new InvalidCommandEvent(%22undo redo%22, Constants.CommandType.UNDO, %22add undo redo%22);%0A        assertEquals(Constants.CommandType.UNDO, event.getCommandType());%0A    %7D%0A%0A    @Test%0A    public void getSuggestion() throws Exception %7B%0A        InvalidCommandEvent event = new InvalidCommandEvent(%22list com%22, Constants.CommandType.LIST, %22list completed%22);%0A        assertEquals(%22list completed%22, event.getSuggestion());%0A    %7D%0A%0A%7D%0A

Add test for `InvalidCommandEvent`