when( runtime.getStatus() ).thenReturn( IRuntimeContext.RUNTIME_STATUS_SUCCESS );
when( solutionEngine.execute( eq( actionPath ), eq( servlet.getClass().getName() ), eq( false ), eq( true ),
eq( instanceID ), eq( true ), any( Map.class ), any( IOutputHandler.class ), any( IActionCompleteListener.class ),
any( IPentahoUrlFactory.class ), any( List.class ) ) ).thenReturn( runtime );
mp.defineInstance( ISolutionEngine.class, solutionEngine );
final IMessageFormatter messageFormatter = mock( IMessageFormatter.class );
mp.defineInstance( IMessageFormatter.class, messageFormatter );
servlet.service( request, response );
verify( servlet ).error( matches( ".*ERROR_0001.*" ) );