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.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("Shipping Calculator");
  }

  @Test
  public void resultsTest_returnsCostCorrectly() {
    goTo("http://localhost:4567/");
    fill("#length").with("10");
    fill("#width").with("10");
    fill("#height").with("10");
    fill("#weight").with("5");
    fill("#distance").with("100");
    submit(".btn");
    assertThat(pageSource()).contains("Cost to Ship: 5000");
  }

}

@@ -946,24 +946,32 @@
 ns(%22
-Cost to Ship
+Base Shipping Cost
 : 
+$
 50
+.
 00%22)

Correct expected output for integration test