package org.innovateuk.ifs.competition.status;

import org.junit.Assert;
import org.junit.Test;

public class PublicContentStatusTextTest {

    PublicContentStatusText publicContentStatusText;

    @Test
    public void getPredicate() throws Exception {
    }

    @Test
    public void getHeader() throws Exception {
        String result = publicContentStatusText.CLOSING_SOON.getHeader();
        Assert.assertEquals( "Closing soon", result);
    }

    @Test
    public void getOpenTense() throws Exception {
        String result = publicContentStatusText.CLOSING_SOON.getOpenTense();
        Assert.assertEquals( "Opened", result);
    }
}
package org.innovateuk.ifs.competition.status;

import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class PublicContentStatusTextTest {

    PublicContentStatusText publicContentStatusText;

    @Test
    public void getHeader() throws Exception {
        assertEquals("Closing soon", publicContentStatusText.CLOSING_SOON.getHeader());
    }

    @Test
    public void getOpenTense() throws Exception {
        assertEquals("Opened", publicContentStatusText.CLOSING_SOON.getOpenTense());
    }
}
Update to PublicContentStatusText unit test.
Update to PublicContentStatusText unit test.
