@@ -0,0 +1,657 @@
+package de.jeha.kame.crawler.core.model;%0A%0Aimport org.apache.commons.io.IOUtils;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * @author jenshadlich@googlemail.com%0A */%0Apublic class PageBuilderTest %7B%0A%0A    @Test%0A    public void test() throws IOException %7B%0A        String url = %22http://www.foo.bar/baz%22;%0A        String content = IOUtils.toString(this.getClass().getResourceAsStream(%22/simple.html%22));%0A%0A        Page page = Page.Builder.New().withUrl(url).withContent(content).build();%0A%0A        assertEquals(%22foo.bar%22, page.getDomain().getName());%0A        assertEquals(1, page.getLinks().size());%0A    %7D%0A%0A%7D%0A

add test