import java.io.IOException;
+import net.pterodactylus.rhynodge.filters.ResourceLoader;
+
import com.google.common.base.Optional;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
private final Document document;
public CyanideAndHappinessComicFilterTest() throws IOException {
- document = ComicLoader.loadDocument("cyanide-and-happiness.html", "http://www.explosm.net/comics/new/");
+ document = ResourceLoader.loadDocument(getClass(), "cyanide-and-happiness.html", "http://www.explosm.net/comics/new/");
}
@Test