//@@author A0142255M
package guitests;

import org.junit.Test;

import seedu.tache.commons.core.Messages;

public class ResultDisplayTest extends TaskManagerGuiTest {

    @Test
    public void resultDisplay_blankOnStartup_success() {
        assertResultMessage("");
    }

    @Test
    public void resultDisplay_unknownCommand_failure() {
        commandBox.runCommand("yutyfcydvchui");
        assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);

        commandBox.runCommand("");
        assertResultMessage(Messages.MESSAGE_INVALID_COMMAND_FORMAT);
    }

}

@@ -33,16 +33,97 @@
 tests;%0A%0A
+import static seedu.tache.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;%0A%0A
 import o
@@ -179,16 +179,63 @@
 essages;
+%0Aimport seedu.tache.logic.commands.HelpCommand;
 %0A%0Apublic
@@ -634,33 +634,38 @@
 sultMessage(
-Messages.
+String.format(
 MESSAGE_INVA
@@ -682,16 +682,44 @@
 D_FORMAT
+, HelpCommand.MESSAGE_USAGE)
 );%0A    %7D

Fix JUnit result display test