private static final String MATCH_CSS = "match";
private Resources createMockResource() {
Resources mockResource = EasyMock.createMock(Resources.class);
Css mockCss = EasyMock.createMock(Css.class);
expect(mockCss.match()).andReturn(MATCH_CSS).anyTimes();
expect(mockResource.searchMatchRendererCss()).andReturn(mockCss).anyTimes();
replay(mockCss, mockResource);
return mockResource;
}