package com.abhiesa.blog;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
public class HelloWorldTest {
  private HelloWorld subject;
  @Before
  public void setup() {
    subject = new HelloWorld();
  }
  @Test
  public void testGetMessage() {
    assertEquals("Hello World!", subject.getMessage(false));
  }
}

package com.abhiesa.blog;

import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;

public class HelloWorldTest {

  private HelloWorld subject;

  @Before
  public void setup() {
    subject = new HelloWorld();
  }

  @Test
  public void testGetMessage() {
    assertEquals("Hello World!", subject.getMessage(false));
  }

}

Update HelloWorldTest.java