// digester throws exception for invalid resources
expect(digestSource.getDigestForResource(requestedResource))
.andThrow(new ApplicationRuntimeException("error"))
.anyTimes();
// in which case the exception reporter has to show them
exceptionReporter.reportRequestException((String)EasyMock.anyObject(), (Throwable)EasyMock.anyObject());
EasyMock.expectLastCall().anyTimes();
ClassResolver resolver = new DefaultClassResolver();
AssetService service = new AssetService();