public void testResetFailure() throws Exception
{
WebRequest request = newRequest();
WebResponse response = newResponse();
WebRequestServicer servicer = newServicer();
MockControl control = newControl(ResetEventCoordinator.class);
ResetEventCoordinator rec = (ResetEventCoordinator) control.getMock();
ErrorLog log = (ErrorLog) newMock(ErrorLog.class);
Location l = fabricateLocation(99);
Throwable t = new ApplicationRuntimeException("Mock failure.", l, null);
servicer.service(request, response);
rec.fireResetEvent();
control.setThrowable(t);
log.error(ImplMessages.errorResetting(t), l, t);