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);
    }
}
@@ -62,23 +62,29 @@
 nit.
-Asser
+Tes
 t;%0A
+%0A
 import 
+static 
 org.
@@ -89,20 +89,35 @@
 g.junit.
-Test
+Assert.assertEquals
 ;%0A%0Apubli
@@ -242,17 +242,14 @@
  get
-Predicate
+Header
 () t
@@ -274,193 +274,89 @@
     
-%7D%0A%0A
     
-@Test%0A    public void getHeader() throws Exception %7B%0A        String result = publicContentStatusText.CLOSING_SOON.getHeader();%0A        Assert.assertEquals( %22Closing soon%22, result
+assertEquals(%22Closing soon%22, publicContentStatusText.CLOSING_SOON.getHeader()
 );%0A 
@@ -433,23 +433,30 @@
     
-String result =
+assertEquals(%22Opened%22,
  pub
@@ -507,55 +507,8 @@
 se()
-;%0A        Assert.assertEquals( %22Opened%22, result
 );%0A 

Update to PublicContentStatusText unit test.