diff --git a/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitAndJUnitTest.java b/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitAndJUnitTest.java index 8395a49581..46a95ae694 100644 --- a/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitAndJUnitTest.java +++ b/spring-mvc-java/src/test/java/com/baeldung/htmlunit/HtmlUnitAndJUnitTest.java @@ -1,13 +1,16 @@ package com.baeldung.htmlunit; -import org.junit.Assert; -import org.junit.Test; - import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlPage; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; public class HtmlUnitAndJUnitTest { + private WebClient webClient; + @Before public void init() throws Exception { webClient = new WebClient();