downloadServiceMock.expects(once()).method("getLink").with(eq(Boolean.TRUE), eq(linkArgs)).will(returnValue(link));
DownloadLink downloadLink = new MyDownloadLink(true, (IEngineService) downloadServiceMock.proxy(), resourceId, extentionName);
MarkupFilter filter = new MarkupFilter() {
public void print(PrintWriter printWriter, char[] chars, int i, int i1, boolean b) {
//do nothing;
}
};