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 org.junit.Rule;

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

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

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

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

  @Rule
  public DatabaseRule database = new DatabaseRule();

  @Test
  public void rootTest() {
    goTo("http://localhost:4567/");
    assertThat(pageSource()).contains("Welcome to your Stylist Database");
  }

  @Test
  public void categoryIsCreatedTest() {
    Stylist newStylist = new Stylist("Otto Von Bismarck");
    newStylist.save();
    String stylistPath = String.format("http://localhost:4567/stylist/%d", newStylist.getId());
    goTo(stylistPath);
    assertThat(pageSource()).contains("Otto Von Bismarck");
  }

}

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 org.junit.Rule;

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

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

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

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

  @Rule
  public DatabaseRule database = new DatabaseRule();

  @Test
  public void rootTest() {
    goTo("http://localhost:4567/");
    assertThat(pageSource()).contains("Welcome to your Stylist Database");
  }

  @Test
  public void stylistIsCreatedTest() {
    Stylist newStylist = new Stylist("Otto Von Bismarck");
    newStylist.save();
    String stylistPath = String.format("http://localhost:4567/stylist/%d", newStylist.getId());
    goTo(stylistPath);
    assertThat(pageSource()).contains("Otto Von Bismarck");
  }

  @Test
  public void stylistIsDisplayedTest() {
    Stylist newStylist = new Stylist("Otto Von Bismarck");
    newStylist.save();
    String stylistPath = String.format("http://localhost:4567/");
    goTo(stylistPath);
    assertThat(pageSource()).contains("Otto Von Bismarck");
  }

}

Add Integration test to ensure new stylists are displaying.
Add Integration test to ensure new stylists are displaying.
