import org.fluentlenium.adapter.FluentTest;
import org.junit.ClassRule;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;

import static org.fluentlenium.core.filter.FilterConstructor.*;
import static org.assertj.core.api.Assertions.assertThat;

public class IntegrationTest extends FluentTest {
  public WebDriver webDriver = new HtmlUnitDriver();

  @Override
  public WebDriver getDefaultDriver() {
    return webDriver;
  }

  @ClassRule
  public static ServerRule server = new ServerRule();

  @Test
  public void rootTest() {
      goTo("http://localhost:4567/");
      assertThat(pageSource()).contains("Dictionary");
  }

  public void addAWordPage() {
      goTo("http://localhost:4567/");
      click("a", withText("Add a Word"));
      assertThat(pageSource()).contains("Now's your chance");
  }

  public void addsWordsSuccessfully() {
      goTo("http://localhost:4567/new");
      fill("#word").with("expeditious");
      submit(".btn");
      assertThat(pageSource()).contains("expeditious");
  }

  public void individualWordPage() {
      goTo("http://localhost:4567/new");
      fill("#word").with("expeditious");
      submit(".btn");
      click("a", withText("expeditious"));
      assertThat(pageSource).contains("Add Definition");
  }

  public void addsDefinitionsSuccessfully() {
      goTo("http://localhost:4567/new");
      fill("#word").with("baton");
      submit(".btn");
      click("a", withText("baton"));
      fill("#definition").with("a kind of stick");
      fill("#example").with("the marshal had a baton");
      submit(".btn");
      assertThat(pageSource).contains("the marshal had a baton");
  }
}

@@ -678,32 +678,40 @@
 tionary%22);%0A  %7D%0A%0A
+  @Test%0A
   public void ad
@@ -717,32 +717,32 @@
 ddAWordPage() %7B%0A
-
       goTo(%22http
@@ -864,32 +864,40 @@
  chance%22);%0A  %7D%0A%0A
+  @Test%0A
   public void ad
@@ -1077,32 +1077,40 @@
 ditious%22);%0A  %7D%0A%0A
+  @Test%0A
   public void in
@@ -1339,16 +1339,24 @@
 );%0A  %7D%0A%0A
+  @Test%0A
   public

Add test annotations to integration tests