discardStage = new DocumentDiscardStage();
}
@Before
public void setUp() throws Exception {
mockedDoc1 = spy(new LocalDocument());
mockedDoc2 = spy(new LocalDocument());
mockedDoc3 = spy(new LocalDocument());
mockedDoc4 = spy(new LocalDocument());
mockedDoc5 = spy(new LocalDocument());
mockedDoc6 = spy(new LocalDocument());
mockedDoc7 = spy(new LocalDocument());
mockedDoc8 = spy(new LocalDocument());
mockedDoc9 = spy(new LocalDocument());
mockedDoc10 = spy(new LocalDocument());
doReturn("http://www.abc.se/def123/index.html").when(mockedDoc1).getContentField("url");
doReturn("xyz.prs.com/se").when(mockedDoc2).getContentField("url");
doReturn("www.foo.se").when(mockedDoc3).getContentField("url");
doReturn("www.foo.co.uk/se/bar.html").when(mockedDoc4).getContentField("url");