service._getService().action(MockUtil.getPath(), input, output);
assertTrue(child.getActionCalled());
}
public void testActionThrowsException() throws Exception {
final Exception exception = new AraneaRuntimeException("Another one bites the dust");
service = new StandardCriticalExceptionHandlingFilterService();
child = new MockEventfulBaseService() {
public void action(Path path, InputData input, OutputData output) throws Exception {
((ServletOutputData)output).getResponse().getOutputStream().write(new byte[] {1});