@@ -0,0 +1,969 @@
+package seedu.address.ui;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.experimental.categories.Category;%0Aimport org.loadui.testfx.GuiTest;%0A%0Aimport javafx.scene.Parent;%0Aimport javafx.scene.control.TextArea;%0Aimport seedu.address.testutil.GuiTests;%0A%0A@Category(%7BGuiTests.class%7D)%0Apublic class ResultDisplayTest extends GuiTest %7B%0A%0A    private ResultDisplay resultDisplay;%0A%0A    private TextArea textArea;%0A%0A    @Override%0A    protected Parent getRootNode() %7B%0A        resultDisplay = new ResultDisplay();%0A        return resultDisplay.getRoot();%0A    %7D%0A%0A    @Before%0A    public void setupNodes() %7B%0A        textArea = find(%22#resultDisplay%22);%0A    %7D%0A%0A    @Test%0A    public void constructor() %7B%0A        assertEquals(%22%22, textArea.getText());%0A    %7D%0A%0A    @Test%0A    public void postMessage_setsMessage() %7B%0A        resultDisplay.postMessage(%22test message%22);%0A        assertEquals(%22test message%22, textArea.getText());%0A    %7D%0A%0A%7D%0A

add ResultDisplayTest