}
public void test_Resource_Link_Paths()
{
LinkFactory factory = newMock(LinkFactory.class);
ILink link = newMock(ILink.class);
AssetService service = new AssetService();
ResourceMatcherImpl rm = new ResourceMatcherImpl();
List patterns = new ArrayList();
patterns.add("tapestry/*");
patterns.add("dojo/*");
rm.setContributions(patterns);
rm.initializeService();
service.setUnprotectedMatcher(rm);
service.setLinkFactory(factory);
expect(factory.constructLink(eq(service), eq(false), isA(Map.class), eq(false))).andReturn(link);
replay();
service.getLink(false, "dojo/src/html.js");